set the installed version after updating the database

This commit is contained in:
Robin Appelman 2011-11-15 15:59:01 +01:00
parent 9686c5b6aa
commit 916c72b40b

View file

@ -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;');