[Pkg-owncloud-commits] [owncloud] 50/66: Revert "Partially backport #7305 to stable5"
David Prévot
taffit at moszumanska.debian.org
Fri Apr 18 22:49:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v5.0.15
in repository owncloud.
commit b88654561dc639637a5ac56832023b33dc85e284
Author: Lukas Reschke <lukas at statuscode.ch>
Date: Sat Feb 22 08:18:22 2014 +0100
Revert "Partially backport #7305 to stable5"
This reverts commit 258997471e919be3e992fc78432397a546417a56.
---
apps/files_external/lib/config.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 7a0d369..0658eb3 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -256,7 +256,7 @@ class OC_Mount_Config {
if ($isPersonal) {
// Verify that the mount point applies for the current user
// Prevent non-admin users from mounting local storage
- if ($applicable !== OCP\User::getUser() || strtolower($class) === '\oc\files\storage\local') {
+ if ($applicable != OCP\User::getUser() || $class == '\OC\Files\Storage\Local') {
return false;
}
$mountPoint = '/'.$applicable.'/files/'.ltrim($mountPoint, '/');
--
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