aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-05-19 15:27:50 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-05-19 15:27:50 +0200
commitd832c4ae2302c56169afccad9cbfe845323f295b (patch)
tree6475b8eec7df24d1051135971136925e6a9a19f7
parent54a6ba47c070240a103c28259e45e682589cf73a (diff)
downloadnextcloud-server-d832c4ae2302c56169afccad9cbfe845323f295b.tar.gz
nextcloud-server-d832c4ae2302c56169afccad9cbfe845323f295b.zip
Fix unexisting class and broken doc
-rw-r--r--apps/files_sharing/lib/sharedstorage.php2
-rw-r--r--lib/private/files/objectstore/objectstorestorage.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index 10a37c7dae9..a833f4e65c2 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -70,7 +70,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
* Get the source file path, permissions, and owner for a shared file
*
* @param string $target Shared target file path
- * @return Returns array with the keys path, permissions, and owner or false if not found
+ * @return array Returns array with the keys path, permissions, and owner or false if not found
*/
public function getFile($target) {
if (!isset($this->files[$target])) {
diff --git a/lib/private/files/objectstore/objectstorestorage.php b/lib/private/files/objectstore/objectstorestorage.php
index 3c92665da3f..72baa1bc61b 100644
--- a/lib/private/files/objectstore/objectstorestorage.php
+++ b/lib/private/files/objectstore/objectstorestorage.php
@@ -220,7 +220,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
\OC\Files\Stream\Dir::register('objectstore' . $path . '/', $files);
return opendir('fakedir://objectstore' . $path . '/');
- } catch (Exception $e) {
+ } catch (\Exception $e) {
\OCP\Util::writeLog('objectstore', $e->getMessage(), \OCP\Util::ERROR);
return false;
}