diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-01-13 15:27:55 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-01-13 15:27:55 +0100 |
commit | 71a8a6ede751e757c8ef205d8d7c87f8d8fb391c (patch) | |
tree | 141af0456723ebb959ed00ba6ade3bb002560ab0 | |
parent | 1dc0e2e565d3c8b49e1074acd5875ffb63b085c9 (diff) |
issue98, debug-message when cleaning up the database
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r-- | phpfspot.class.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index 837e3e1..a0082dd 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -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) .") |