From 81cf726b1848020f5c2611c64e662f0e12efefef Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 18 Oct 2012 18:44:03 +0200 Subject: unset UserID after Update --- apps/files_sharing/appinfo/update.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files_sharing') 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); } -- cgit v1.2.3