diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-11-15 15:59:01 +0100 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2012-01-08 01:57:53 +0100 |
commit | c6aa0f9854a2e598c6bb2cd2d0b6ffce7a9c6e64 (patch) | |
tree | 9d0daac5270c03afca7b48c332173cfc38caa8b8 /lib/base.php | |
parent | 09a53170a309677b344b25d9820ef038a0e87929 (diff) | |
download | nextcloud-server-c6aa0f9854a2e598c6bb2cd2d0b6ffce7a9c6e64.tar.gz nextcloud-server-c6aa0f9854a2e598c6bb2cd2d0b6ffce7a9c6e64.zip |
set the installed version after updating the database
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 803c0118e20..7b42d56f522 100644 --- a/lib/base.php +++ b/lib/base.php @@ -156,6 +156,7 @@ class OC{ $currentVersion=implode('.',OC_Util::getVersion()); if (version_compare($currentVersion, $installedVersion, '>')) { OC_DB::updateDbFromStructure('../db_structure.xml'); + OC_Config::setValue('version',implode('.',OC_Util::getVersion())); } ini_set('session.cookie_httponly','1;'); |