[Pkg-owncloud-commits] [owncloud] 56/67: unset UserID after Update

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:10:44 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.1
in repository owncloud.

commit cc67ae9dbb378fc2f5444fdb420ce28802c77686
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Thu Oct 18 18:44:03 2012 +0200

    unset UserID after Update
---
 apps/files_sharing/appinfo/update.php |    1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php
index 23f2afe..e75c538 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);
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list