From 7ee722e0dafbd9e0b38014e063ec3c425368d2e7 Mon Sep 17 00:00:00 2001 From: Bartek Przybylski Date: Sat, 9 Jun 2012 15:12:28 +0200 Subject: removing app access check, fix title for links in tiles --- apps/gallery/lib/managers.php | 3 --- apps/gallery/lib/tiles.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/gallery/lib/managers.php b/apps/gallery/lib/managers.php index 41300058936..f9a67b8b117 100644 --- a/apps/gallery/lib/managers.php +++ b/apps/gallery/lib/managers.php @@ -4,9 +4,6 @@ namespace OC\Pictures; require_once('lib/base.php'); -\OCP\JSON::checkLoggedIn(); -\OCP\JSON::checkAppEnabled('gallery'); - class DatabaseManager { private static $instance = null; const TAG = 'DatabaseManager'; diff --git a/apps/gallery/lib/tiles.php b/apps/gallery/lib/tiles.php index f1961cb72e5..e43c99bb76a 100644 --- a/apps/gallery/lib/tiles.php +++ b/apps/gallery/lib/tiles.php @@ -95,7 +95,7 @@ class TileSingle extends TileBase { public function get($extra = '') { // !HACK! file path needs to be encoded twice because files app decode twice url, so any special chars like + or & in filename // !HACK! will result in failing of opening them - return ''; + return ''; } public function getMiniatureSrc() { -- cgit v1.2.3