unset UserID after Update

This commit is contained in:
Arthur Schiwon 2012-10-18 18:44:03 +02:00
parent 71d33fa065
commit cc67ae9dbb

View file

@ -55,6 +55,7 @@ if (version_compare($installedVersion, '0.3', '<')) {
OC_Util::tearDownFS();
}
}
OC_User::setUserId(null);
if ($update_error) {
OCP\Util::writeLog('files_sharing', 'There were some problems upgrading the sharing of files', OCP\Util::ERROR);
}