projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue98, debug-message when cleaning up the database
[phpfspot.git]
/
phpfspot.class.php
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index 837e3e1db4ffb86ce91fb9f7738705b4d3bde4c2..a0082dd5fb7a26e87584a392e6e3b9353b054553 100644
(file)
--- 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) .")
$this->cfg_db->db_exec("
DELETE FROM images
WHERE img_idx IN (". implode($to_delete) .")