From 25b4ec32c7959d397bf131c916c594c62bf70a32 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 17 Nov 2012 14:27:30 +0100 Subject: [PATCH] Clean up code - removed useless cache code --- mod/photo.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mod/photo.php b/mod/photo.php index bd49437e26..e37b927385 100644 --- a/mod/photo.php +++ b/mod/photo.php @@ -175,10 +175,6 @@ function photo_init(&$a) { } } - // Writing in cachefile - if (isset($cachefile) && $cachefile != '') - file_put_contents($cachefile, $data); - if(function_exists('header_remove')) { header_remove('Pragma'); header_remove('pragma');