diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-11-15 15:59:01 +0100 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-11-15 15:59:01 +0100 |
commit | 916c72b40be8db891856669643e7b605c087297e (patch) | |
tree | 8b2cbe50b945d1b1a9f85d5e76fe27e1371c49ab | |
parent | 9686c5b6aa981481063477efa54f21e9debfa453 (diff) | |
download | nextcloud-server-916c72b40be8db891856669643e7b605c087297e.tar.gz nextcloud-server-916c72b40be8db891856669643e7b605c087297e.zip |
set the installed version after updating the database
-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 554036164e6..b6e8ccbe283 100644 --- a/lib/base.php +++ b/lib/base.php @@ -123,6 +123,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;'); |