issue98, debug-message when cleaning up the database
authorAndreas Unterkircher <unki@netshadow.at>
Sun, 13 Jan 2008 14:27:55 +0000 (15:27 +0100)
committerAndreas Unterkircher <unki@netshadow.at>
Sun, 13 Jan 2008 14:27:55 +0000 (15:27 +0100)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.class.php

index 837e3e1db4ffb86ce91fb9f7738705b4d3bde4c2..a0082dd5fb7a26e87584a392e6e3b9353b054553 100644 (file)
@@ -2397,6 +2397,8 @@ class PHPFSPOT {
          }
       }
 
          }
       }
 
+      print count($to_delete) ." unnecessary objects will be removed from phpfspot's database.\n";
+
       $this->cfg_db->db_exec("
          DELETE FROM images
          WHERE img_idx IN (". implode($to_delete) .")
       $this->cfg_db->db_exec("
          DELETE FROM images
          WHERE img_idx IN (". implode($to_delete) .")