diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-03 11:24:10 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-03 11:24:10 +0200 |
commit | 96d7cd59978cc416bc0d9c5ac487af23692ef1d8 (patch) | |
tree | 708663e16ffefd79a60bc149ff4d7947200d6380 /lib | |
parent | 636c75ce061492751d0fb001e0bf7219df379f09 (diff) | |
download | nextcloud-server-96d7cd59978cc416bc0d9c5ac487af23692ef1d8.tar.gz nextcloud-server-96d7cd59978cc416bc0d9c5ac487af23692ef1d8.zip |
correct namespace usage in common filestorage backend
Diffstat (limited to 'lib')
-rw-r--r-- | lib/files/storage/common.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/files/storage/common.php b/lib/files/storage/common.php index b2b4ea8eee4..3886a041829 100644 --- a/lib/files/storage/common.php +++ b/lib/files/storage/common.php @@ -57,19 +57,19 @@ abstract class Common extends \OC\Files\Storage\Storage { public function getPermissions($path){ $permissions = 0; if($this->isCreatable($path)){ - $permissions |= OCP\Share::PERMISSION_CREATE; + $permissions |= \OCP\Share::PERMISSION_CREATE; } if($this->isReadable($path)){ - $permissions |= OCP\Share::PERMISSION_READ; + $permissions |= \OCP\Share::PERMISSION_READ; } if($this->isUpdatable($path)){ - $permissions |= OCP\Share::PERMISSION_UPDATE; + $permissions |= \OCP\Share::PERMISSION_UPDATE; } if($this->isDeletable($path)){ - $permissions |= OCP\Share::PERMISSION_DELETE; + $permissions |= \OCP\Share::PERMISSION_DELETE; } if($this->isSharable($path)){ - $permissions |= OCP\Share::PERMISSION_SHARE; + $permissions |= \OCP\Share::PERMISSION_SHARE; } return $permissions; } |