From: Michael Vogel Date: Sat, 17 Nov 2012 13:27:30 +0000 (+0100) Subject: Clean up code - removed useless cache code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=25b4ec32c7959d397bf131c916c594c62bf70a32;p=friendica.git Clean up code - removed useless cache code --- 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');