diff --git a/apps/gallery/lib/images_utils.php b/apps/gallery/lib/images_utils.php index 6f3959a342..eb50f5217e 100644 --- a/apps/gallery/lib/images_utils.php +++ b/apps/gallery/lib/images_utils.php @@ -21,11 +21,6 @@ * */ -if (file_exists('../../../lib/base.php')) - -elseif (file_exists('lib/base.php')) - require_once('lib/base.php'); - OC_JSON::checkLoggedIn(); OC_JSON::checkAppEnabled('gallery');