diff options
Diffstat (limited to 'apps/gallery/ajax/createAlbum.php')
-rwxr-xr-x | apps/gallery/ajax/createAlbum.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gallery/ajax/createAlbum.php b/apps/gallery/ajax/createAlbum.php index eaf5c296de9..61e2e9ae2e9 100755 --- a/apps/gallery/ajax/createAlbum.php +++ b/apps/gallery/ajax/createAlbum.php @@ -22,11 +22,11 @@ */ -OC_JSON::checkLoggedIn(); -OC_JSON::checkAppEnabled('gallery'); +OCP\JSON::checkLoggedIn(); +OCP\JSON::checkAppEnabled('gallery'); OC_Gallery_Album::create(OCP\USER::getUser(), $_GET['album_name']); -OC_JSON::success(array('name' => $_GET['album_name'])); +OCP\JSON::success(array('name' => $_GET['album_name'])); ?> |