Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-10-18 20:44:03 +0400
committerArthur Schiwon <blizzz@owncloud.com>2012-10-18 20:45:03 +0400
commit81cf726b1848020f5c2611c64e662f0e12efefef (patch)
treecb3e8bf9e81017fb752e6760c9b33d2a773891f1 /apps
parent3fc9fbeef70aed6bba7822e5b1456969b752cf86 (diff)
unset UserID after Update
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/appinfo/update.php1
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);
}