summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpfspot.class.php2
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) .")