set the installed version after updating the database

This commit is contained in:
Robin Appelman 2011-11-15 15:59:01 +01:00
parent 09a53170a3
commit c6aa0f9854

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