unset UserID after Update

remotes/origin/stable5
Arthur Schiwon 13 years ago
parent 3fc9fbeef7
commit 81cf726b18
  1. 1
      apps/files_sharing/appinfo/update.php

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

Loading…
Cancel
Save