Skip to content

Commit

Permalink
Dev: Try to purge survey meta data after db update
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Oct 18, 2017
1 parent 610fb05 commit 92701ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/update/updatedb_helper.php
Expand Up @@ -540,6 +540,7 @@ function db_upgrade_all($iOldDBVersion, $bSilent=false) {

// Force User model to refresh meta data (for updates from very old versions)
User::model()->refreshMetaData();
Survey::model()->refreshMetaData();

// Inform superadmin about update
$superadmins = User::model()->getSuperAdmins();
Expand Down

0 comments on commit 92701ab

Please sign in to comment.