]> source.dussan.org Git - nextcloud-server.git/commitdiff
set the installed version after updating the database
authorRobin Appelman <icewind1991@gmail.com>
Tue, 15 Nov 2011 14:59:01 +0000 (15:59 +0100)
committerRobin Appelman <icewind1991@gmail.com>
Sun, 8 Jan 2012 00:57:53 +0000 (01:57 +0100)
lib/base.php

index 803c0118e20f882345696e5617b82c075e2b7a98..7b42d56f522d3dd712019368924bb9eb1afa8679 100644 (file)
@@ -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;');