]> git.p6c8.net - jirafeau/pcanterino.git/blobdiff - f.php
Merge branch 'fix-onetime-download-stats' into 'next-release'
[jirafeau/pcanterino.git] / f.php
diff --git a/f.php b/f.php
index 352359668f61c4cf7b4b1a06f1d019df7ca77ed5..9454540c44ae0ff404b680cc9eb987ed032f8b7a 100644 (file)
--- a/f.php
+++ b/f.php
@@ -274,12 +274,12 @@ else {
     }
 }
 
+jirafeau_write_download_stats($link_name, get_ip_address($cfg));
+
 if ($link['onetime'] == 'O') {
     jirafeau_delete_link($link_name);
 }
 
-jirafeau_write_download_stats($link_name, get_ip_address($cfg));
-
 exit;
 
 ?>

patrick-canterino.de