From e4028960013836620afedf1ecfbde9e7637b22f1 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Mon, 13 Feb 2012 22:30:27 +0100 Subject: [PATCH] Gallery: Remove autoloaded includes from galleryOp.php --- apps/gallery/ajax/galleryOp.php | 3 +-- 1 file changed, 1 insertion(+), 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) { -- 2.39.5