]> git.mjollnir.org Git - moodle.git/commitdiff
Removed unnecessary WHERE statement in SQL MDL-11146
authormoodler <moodler>
Mon, 10 Sep 2007 14:55:32 +0000 (14:55 +0000)
committermoodler <moodler>
Mon, 10 Sep 2007 14:55:32 +0000 (14:55 +0000)
tag/lib.php

index c5e818c845283a5851b9fa8e65ea58db0b333aad..7c421a0a92778ae418c0da4ec79d5251bc1a493b 100644 (file)
@@ -1160,8 +1160,6 @@ function popular_tags_count($nr_of_tags=20, $tag_type = 'default') {
             {$CFG->prefix}tag tg 
         ON 
             tg.id = ti.tagid
-        WHERE 
-            ti.tagid
         GROUP BY 
             tagid 
         ORDER BY