git-svn-id: file:///home/shish/svn/shimmie2/trunk@236 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-06 16:51:09 +00:00
parent f0168d6160
commit 264931a8ee

View file

@ -47,7 +47,7 @@ class AdminUtils extends Extension {
global $database;
$database->execute("UPDATE tags SET tag=lower(tag)");
}
private function recout_tag_use() {
private function recount_tag_use() {
global $database;
$database->Execute("UPDATE tags SET count=(SELECT COUNT(image_id) FROM image_tags WHERE tag_id=tags.id GROUP BY tag_id)");
}