Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-03-24 16:57:36 +0300
committerOlivier Paroz <github@oparoz.com>2015-03-24 16:57:36 +0300
commit0f9c2cf763dc048110efe8f414c1652f39f3b1fb (patch)
tree985408664efee0c8ec4d977a9fcf98fa10907778 /environment
parent6d9b4835cd6edab17f98e10a90c518889a35f062 (diff)
Various fixes for the album config feature
Diffstat (limited to 'environment')
-rw-r--r--environment/environment.php3
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);