Skip to content

Commit

Permalink
Fixed issue #17611: Updating from 2.05 or earlier throws error "Undef…
Browse files Browse the repository at this point in the history
…ined function getDBConnectionStringProperty()"
  • Loading branch information
c-schmitz committed Sep 22, 2021
1 parent e88b714 commit e303e1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/commands/UpdateDbCommand.php
Expand Up @@ -40,6 +40,7 @@ public function run($args = null)
echo "Update ".Yii::app()->db->connectionString." with prefix :";
echo Yii::app()->db->tablePrefix." from {$currentDbVersion} to {$newDbVersion}\n";
Yii::import('application.helpers.common_helper', true);
Yii::import('application.helpers.update.update_helper', true);
Yii::import('application.helpers.update.updatedb_helper', true);
$result = db_upgrade_all($currentDbVersion);
if ($result) {
Expand Down

0 comments on commit e303e1a

Please sign in to comment.