diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-26 14:21:06 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-26 14:21:06 +0100 |
commit | d4d09b06f80462394983fe04d291a0345dd57280 (patch) | |
tree | e4452055533c7ec7bb6fa49ac7f6b5c93ba8c4f7 /apps/files_sharing | |
parent | ea8f71a19c59e7138d4a504bacc0beb410fc77e8 (diff) | |
parent | 3d0d47957e65a72e17d33a924c9c4efcd5088ed2 (diff) | |
download | nextcloud-server-d4d09b06f80462394983fe04d291a0345dd57280.tar.gz nextcloud-server-d4d09b06f80462394983fe04d291a0345dd57280.zip |
merge master into encryption
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/sharedstorage.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php index 07653fc11b5..3067d4d34c0 100644 --- a/apps/files_sharing/sharedstorage.php +++ b/apps/files_sharing/sharedstorage.php @@ -58,7 +58,7 @@ class OC_Filestorage_Shared extends OC_Filestorage { } public function mkdir($path) { - if ($path == "" || $path == "/" || !$this->is_writeable($path)) { + if ($path == "" || $path == "/" || !$this->is_writable($path)) { return false; } else { $source = $this->getSource($path); @@ -280,14 +280,6 @@ class OC_Filestorage_Shared extends OC_Filestorage { } } - public function readfile($path) { - $source = $this->getSource($path); - if ($source) { - $storage = OC_Filesystem::getStorage($source); - return $storage->readfile($this->getInternalPath($source)); - } - } - public function filectime($path) { if ($path == "" || $path == "/") { $ctime = 0; |