From 0f9c2cf763dc048110efe8f414c1652f39f3b1fb Mon Sep 17 00:00:00 2001 From: Olivier Paroz Date: Tue, 24 Mar 2015 14:57:36 +0100 Subject: Various fixes for the album config feature --- environment/environment.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'environment') diff --git a/environment/environment.php b/environment/environment.php index f09b5474..776114da 100644 --- a/environment/environment.php +++ b/environment/environment.php @@ -19,6 +19,7 @@ use OCP\IUserManager; use OCP\Share; use OCP\Files\Folder; use OCP\Files\Node; +use OCP\Files\File; use OCP\Files\NotFoundException; use OCA\GalleryPlus\Utility\SmarterLogger; @@ -143,7 +144,7 @@ class Environment { * * @param string $subPath * - * @return Node + * @return File|Folder */ public function getResourceFromPath($subPath) { $path = $this->getImagePathFromFolder($subPath); -- cgit v1.2.3