Clean up code - removed useless cache code

This commit is contained in:
Michael Vogel 2012-11-17 14:27:30 +01:00
parent f17377e6de
commit 25b4ec32c7

View 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');