diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-02-13 22:30:27 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-02-13 22:33:48 +0100 |
commit | e4028960013836620afedf1ecfbde9e7637b22f1 (patch) | |
tree | bfacfaa88d6c5b944c42d663d765c5e6d90b778e /apps | |
parent | d10f4f071d8a51128e0b8056e9af414af98cf833 (diff) | |
download | nextcloud-server-e4028960013836620afedf1ecfbde9e7637b22f1.tar.gz nextcloud-server-e4028960013836620afedf1ecfbde9e7637b22f1.zip |
Gallery: Remove autoloaded includes from galleryOp.php
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gallery/ajax/galleryOp.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gallery/ajax/galleryOp.php b/apps/gallery/ajax/galleryOp.php index 8df692c7735..c0623c90d94 100644 --- a/apps/gallery/ajax/galleryOp.php +++ b/apps/gallery/ajax/galleryOp.php @@ -22,8 +22,7 @@ */ require_once('../../../lib/base.php'); -require_once(OC::$CLASSPATH['OC_Gallery_Album']); -require_once(OC::$CLASSPATH['OC_Gallery_Scanner']); + OC_JSON::checkAppEnabled('gallery'); function handleRename($oldname, $newname) { |