diff --git a/apps/gallery/lib/images_utils.php b/apps/gallery/lib/images_utils.php index 6f3959a342d4701e6c7ff276ea1bbcf37d4adc70..eb50f5217eac1d4216b01395b3a08dffe3bbe057 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');