summaryrefslogtreecommitdiffstats
path: root/lib/private/files
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-20 15:22:52 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-20 15:22:52 +0100
commit427d107b9f375f5667a3e8f40191edd46924fdb8 (patch)
treea23de8dcbea7e7d66e842c9e15fc600350c9d49c /lib/private/files
parent308aaf89cd916a0c26c219650e09b8612a50fc47 (diff)
parentc86483f3edb931d58477e4003490fb02fee6369f (diff)
downloadnextcloud-server-427d107b9f375f5667a3e8f40191edd46924fdb8.tar.gz
nextcloud-server-427d107b9f375f5667a3e8f40191edd46924fdb8.zip
Merge pull request #20614 from owncloud/use-mocks-when-testing-isSharingDisabledForUser
Use mocks when testing isSharingDisabledForUser
Diffstat (limited to 'lib/private/files')
-rw-r--r--lib/private/files/storage/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php
index 77a70226b37..8e4958a930d 100644
--- a/lib/private/files/storage/common.php
+++ b/lib/private/files/storage/common.php
@@ -137,7 +137,7 @@ abstract class Common implements Storage {
}
public function isSharable($path) {
- if (\OC_Util::isSharingDisabledForUser()) {
+ if (\OCP\Util::isSharingDisabledForUser()) {
return false;
}