summaryrefslogtreecommitdiffstats
path: root/apps/gallery/ajax/createAlbum.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/ajax/createAlbum.php')
-rw-r--r--apps/gallery/ajax/createAlbum.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/ajax/createAlbum.php b/apps/gallery/ajax/createAlbum.php
index 152f5834bcb..ca02c3ae209 100644
--- a/apps/gallery/ajax/createAlbum.php
+++ b/apps/gallery/ajax/createAlbum.php
@@ -21,7 +21,7 @@
*
*/
-require_once('../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('gallery');