diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-07-09 16:51:16 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-07-09 16:51:16 +0200 |
commit | e59a1806cf676dad9256ad3adb83a6e9530b7612 (patch) | |
tree | a702cd86c7b5708ace23ab87911691d33caa972d /apps/gallery/lib | |
parent | b67199bb452483ec7d3c3d338b2f3a0c667e42e7 (diff) | |
download | nextcloud-server-e59a1806cf676dad9256ad3adb83a6e9530b7612.tar.gz nextcloud-server-e59a1806cf676dad9256ad3adb83a6e9530b7612.zip |
remove superfluous ?> at the end of .php files (left out apps/*/templates)
Diffstat (limited to 'apps/gallery/lib')
-rw-r--r-- | apps/gallery/lib/hooks_handlers.php | 2 | ||||
-rw-r--r-- | apps/gallery/lib/images_utils.php | 2 | ||||
-rw-r--r-- | apps/gallery/lib/managers.php | 7 | ||||
-rw-r--r-- | apps/gallery/lib/tiles.php | 2 | ||||
-rw-r--r-- | apps/gallery/lib/tiles_test.php | 2 |
5 files changed, 3 insertions, 12 deletions
diff --git a/apps/gallery/lib/hooks_handlers.php b/apps/gallery/lib/hooks_handlers.php index 093979834da..3bafdb5cf4d 100644 --- a/apps/gallery/lib/hooks_handlers.php +++ b/apps/gallery/lib/hooks_handlers.php @@ -38,5 +38,3 @@ class OC_Gallery_Hooks_Handlers { //TODO: implement this } } - -?> diff --git a/apps/gallery/lib/images_utils.php b/apps/gallery/lib/images_utils.php index ac3a383c977..f5e37cf1dee 100644 --- a/apps/gallery/lib/images_utils.php +++ b/apps/gallery/lib/images_utils.php @@ -60,5 +60,3 @@ function CroppedThumbnail($imgSrc,$thumbnail_width,$thumbnail_height, $tgtImg, $ imagedestroy($process); imagedestroy($myImage); } - -?> diff --git a/apps/gallery/lib/managers.php b/apps/gallery/lib/managers.php index 17eb741a660..495c51ea9c2 100644 --- a/apps/gallery/lib/managers.php +++ b/apps/gallery/lib/managers.php @@ -102,13 +102,12 @@ class ThumbnailsManager { } public function delete($path) { - $thumbnail = \OCP\Config::getSystemValue('datadirectory').'/'.\OC_User::getUser()."/gallery".$path;
- if (file_exists($thumbnail)) {
- unlink($thumbnail);
+ $thumbnail = \OCP\Config::getSystemValue('datadirectory').'/'.\OC_User::getUser()."/gallery".$path; + if (file_exists($thumbnail)) { + unlink($thumbnail); } } private function __construct() {} } -?> diff --git a/apps/gallery/lib/tiles.php b/apps/gallery/lib/tiles.php index 5efe0d7a299..3ff06dfcbeb 100644 --- a/apps/gallery/lib/tiles.php +++ b/apps/gallery/lib/tiles.php @@ -174,5 +174,3 @@ class TileStack extends TileBase { private $tiles_array; private $stack_name; } - -?> diff --git a/apps/gallery/lib/tiles_test.php b/apps/gallery/lib/tiles_test.php index 022a88f75cc..02d567c628d 100644 --- a/apps/gallery/lib/tiles_test.php +++ b/apps/gallery/lib/tiles_test.php @@ -83,5 +83,3 @@ if ($ts->getCount() != 0) { } echo $tl->get(); - -?> |