From: Andreas Unterkircher Date: Sun, 13 Jan 2008 14:27:55 +0000 (+0100) Subject: issue98, debug-message when cleaning up the database X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=71a8a6ede751e757c8ef205d8d7c87f8d8fb391c;ds=inline issue98, debug-message when cleaning up the database Signed-off-by: Andreas Unterkircher --- 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) .")