diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-09-10 19:44:23 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-09-10 19:44:23 +0200 |
commit | e271a55783dafd605791d02ca718b463fa19d58d (patch) | |
tree | e6f78647dcacfa23a7bac1db6a88e00c5edfd3ea /lib/files/node/file.php | |
parent | 315344eb9cc58dda23bfe52c1413ad963265a9cb (diff) | |
download | nextcloud-server-e271a55783dafd605791d02ca718b463fa19d58d.tar.gz nextcloud-server-e271a55783dafd605791d02ca718b463fa19d58d.zip |
move filesystem expceptions to global namespace
Diffstat (limited to 'lib/files/node/file.php')
-rw-r--r-- | lib/files/node/file.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/files/node/file.php b/lib/files/node/file.php index f13b474aa6c..75d5e0166b6 100644 --- a/lib/files/node/file.php +++ b/lib/files/node/file.php @@ -8,12 +8,12 @@ namespace OC\Files\Node; -use OC\Files\NotPermittedException; +use OCP\Files\NotPermittedException; -class File extends Node implements \OCP\Files\Node\File { +class File extends Node implements \OCP\Files\File { /** * @return string - * @throws \OC\Files\NotPermittedException + * @throws \OCP\Files\NotPermittedException */ public function getContent() { if ($this->checkPermissions(\OCP\PERMISSION_READ)) { @@ -28,7 +28,7 @@ class File extends Node implements \OCP\Files\Node\File { /** * @param string $data - * @throws \OC\Files\NotPermittedException + * @throws \OCP\Files\NotPermittedException */ public function putContent($data) { if ($this->checkPermissions(\OCP\PERMISSION_UPDATE)) { @@ -50,7 +50,7 @@ class File extends Node implements \OCP\Files\Node\File { /** * @param string $mode * @return resource - * @throws \OC\Files\NotPermittedException + * @throws \OCP\Files\NotPermittedException */ public function fopen($mode) { $preHooks = array(); @@ -101,7 +101,7 @@ class File extends Node implements \OCP\Files\Node\File { /** * @param string $targetPath - * @throws \OC\Files\NotPermittedException + * @throws \OCP\Files\NotPermittedException * @return \OC\Files\Node\Node */ public function copy($targetPath) { @@ -123,7 +123,7 @@ class File extends Node implements \OCP\Files\Node\File { /** * @param string $targetPath - * @throws \OC\Files\NotPermittedException + * @throws \OCP\Files\NotPermittedException * @return \OC\Files\Node\Node */ public function move($targetPath) { |