else if => elseif

This commit is contained in:
Alexander Kochetov
2012-10-03 10:20:14 +04:00
parent 0955e63708
commit 486723805e
141 changed files with 394 additions and 394 deletions

View File

@@ -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";