From 71a8a6ede751e757c8ef205d8d7c87f8d8fb391c Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 13 Jan 2008 15:27:55 +0100 Subject: [PATCH] issue98, debug-message when cleaning up the database Signed-off-by: Andreas Unterkircher --- phpfspot.class.php | 2 ++ 1 file changed, 2 insertions(+) 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) .") -- 2.17.1