diff options
author | Olivier Paroz <github@oparoz.com> | 2015-03-24 16:57:36 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-03-24 16:57:36 +0300 |
commit | 0f9c2cf763dc048110efe8f414c1652f39f3b1fb (patch) | |
tree | 985408664efee0c8ec4d977a9fcf98fa10907778 /environment | |
parent | 6d9b4835cd6edab17f98e10a90c518889a35f062 (diff) |
Various fixes for the album config feature
Diffstat (limited to 'environment')
-rw-r--r-- | environment/environment.php | 3 |
1 files changed, 2 insertions, 1 deletions
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); |