]> source.dussan.org Git - nextcloud-server.git/commitdiff
Revert "Partially backport #7305 to stable5"
authorLukas Reschke <lukas@statuscode.ch>
Sat, 22 Feb 2014 07:18:22 +0000 (08:18 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Sat, 22 Feb 2014 07:18:22 +0000 (08:18 +0100)
This reverts commit 258997471e919be3e992fc78432397a546417a56.

apps/files_external/lib/config.php

index 7a0d369bca44890a86d0268e5d296bb5beb8ffdc..0658eb3461185150bffc2f45f3053f3523082955 100755 (executable)
@@ -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, '/');