diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-10-18 18:44:03 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-10-18 18:45:03 +0200 |
commit | 81cf726b1848020f5c2611c64e662f0e12efefef (patch) | |
tree | cb3e8bf9e81017fb752e6760c9b33d2a773891f1 /apps/files_sharing/appinfo/update.php | |
parent | 3fc9fbeef70aed6bba7822e5b1456969b752cf86 (diff) | |
download | nextcloud-server-81cf726b1848020f5c2611c64e662f0e12efefef.tar.gz nextcloud-server-81cf726b1848020f5c2611c64e662f0e12efefef.zip |
unset UserID after Update
Diffstat (limited to 'apps/files_sharing/appinfo/update.php')
-rw-r--r-- | apps/files_sharing/appinfo/update.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php index 23f2afea7e1..e75c538b150 100644 --- a/apps/files_sharing/appinfo/update.php +++ b/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); } |