]> git.sesse.net Git - pr0n/blobdiff - perl/Sesse/pr0n/Common.pm
Remove some debugging stuff.
[pr0n] / perl / Sesse / pr0n / Common.pm
index a9ee2119db8751d3c97770f5cb6f7aa68f9864e0..559d6339f38b206498902f801ffa721d777c6593 100644 (file)
@@ -233,7 +233,7 @@ sub get_cache_location {
 
 sub ensure_disk_location_exists {
        my ($r, $id) = @_;
-        my $dir = POSIX::floor($id / 256);
+       my $dir = POSIX::floor($id / 256);
 
        my $img_dir = get_base($r) . "/images/$dir/";
        if (! -d $img_dir) {
@@ -1117,8 +1117,6 @@ sub purge_cache {
        }
        $regex .= "(\\?.*)?\$";
        $r->headers_out->{'X-Pr0n-Purge'} = $regex;
-
-       $r->log->info($r->headers_out->{'X-Pr0n-Purge'});
 }
                                
 # Find a list of all cache URLs for a given image, given what we have on disk.