Skip to content
Snippets Groups Projects
Commit c6aa0f98 authored by Robin Appelman's avatar Robin Appelman
Browse files

set the installed version after updating the database

parent 09a53170
No related merge requests found
......@@ -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;');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment