projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc0e2e
)
issue98, debug-message when cleaning up the database
author
Andreas Unterkircher
<unki@netshadow.at>
Sun, 13 Jan 2008 14:27:55 +0000
(15:27 +0100)
committer
Andreas Unterkircher
<unki@netshadow.at>
Sun, 13 Jan 2008 14:27:55 +0000
(15:27 +0100)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.class.php
patch
|
blob
|
history
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) .")