summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-18 23:24:28 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-18 23:24:28 +0200
commit9712a785594f57b210d7b399c7ffd8904a8d1c18 (patch)
tree4e25f6dbf0a71dd5c7730aed4f8383b39eeaa83e /apps/files_sharing/appinfo
parent77cef5f5142d340117add03fd95e1430a3868eb7 (diff)
parent59c2414439f3824bd35504077f64a0221fefeb05 (diff)
downloadnextcloud-server-9712a785594f57b210d7b399c7ffd8904a8d1c18.tar.gz
nextcloud-server-9712a785594f57b210d7b399c7ffd8904a8d1c18.zip
merge master into filesystem
Diffstat (limited to 'apps/files_sharing/appinfo')
-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);
}