]> git.mxchange.org Git - friendica.git/commitdiff
Clean up code - removed useless cache code
authorMichael Vogel <icarus@dabo.de>
Sat, 17 Nov 2012 13:27:30 +0000 (14:27 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 17 Nov 2012 13:27:30 +0000 (14:27 +0100)
mod/photo.php

index bd49437e26687a69147b874119a3e96956886728..e37b9273859e940e8ca13e5cd4ac5f13f4d44e49 100644 (file)
@@ -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');