mirror of
https://github.com/yiisoft/yii.git
synced 2026-02-20 01:21:22 +01:00
else if => elseif
This commit is contained in:
@@ -439,7 +439,7 @@ class MigrateCommand extends CConsoleCommand
|
||||
{
|
||||
if($this->_db!==null)
|
||||
return $this->_db;
|
||||
else if(($this->_db=Yii::app()->getComponent($this->connectionID)) instanceof CDbConnection)
|
||||
elseif(($this->_db=Yii::app()->getComponent($this->connectionID)) instanceof CDbConnection)
|
||||
return $this->_db;
|
||||
|
||||
echo "Error: CMigrationCommand.connectionID '{$this->connectionID}' is invalid. Please make sure it refers to the ID of a CDbConnection application component.\n";
|
||||
|
||||
Reference in New Issue
Block a user