]> git.sesse.net Git - pr0n/blobdiff - perl/Sesse/pr0n/WebDAV.pm
Avoid a rescan of all images every time we upload something.
[pr0n] / perl / Sesse / pr0n / WebDAV.pm
index 35cc9790bc0c1a7ec629a1499ee450fd16d5f91d..76211549ccecaa1dd782cd7639892dc68ea943d8 100644 (file)
@@ -484,7 +484,7 @@ EOF
                                # Make cache while we're at it.
                                # Don't do it for the resource forks Mac OS X loves to upload :-(
                                if ($filename !~ /^\._/) {
-                                       Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, -1, -1, 1, 80, 64, 320, 256);
+                                       Sesse::pr0n::Common::ensure_cached($r, $filename, $newid, -1, -1, 1, 80, 64, 320, 256, -1, -1);
                                }
                                
                                # OK, we got this far, commit