diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-19 15:35:58 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-19 15:36:16 +0100 |
commit | 9ec2850c78e673a4aa1c4af97aa5be4414bd438f (patch) | |
tree | 6d127c4443d5fd6a69f7577dfd0dc8c3d01e9f26 /lib/private/files | |
parent | 58eaeb267c60ed2aed4b5592a28d16f5453bb773 (diff) | |
download | nextcloud-server-9ec2850c78e673a4aa1c4af97aa5be4414bd438f.tar.gz nextcloud-server-9ec2850c78e673a4aa1c4af97aa5be4414bd438f.zip |
Use mocks when testing isSharingDisabledForUser
Diffstat (limited to 'lib/private/files')
-rw-r--r-- | lib/private/files/storage/common.php | 2 |
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; } |