]> git.mjollnir.org Git - moodle.git/commitdiff
Minor patch for MDL-11992 course tagging. Corrected a statement in cron().
authorjbeedell <jbeedell>
Fri, 19 Sep 2008 16:00:52 +0000 (16:00 +0000)
committerjbeedell <jbeedell>
Fri, 19 Sep 2008 16:00:52 +0000 (16:00 +0000)
blocks/tags/block_tags.php

index 71b972446141c4672deb2e7366690e520cfab2e1..90f598e5319cd7951414fa10894bdcc810555b62 100644 (file)
@@ -338,8 +338,8 @@ EOT;
      */
     /*
     function cron() {
-        if (SHOWCOURSETAGS) {
-            global $CFG;
+        global $CFG;
+        if ($CFG->block_tags_showcoursetags) {
             require_once($CFG->dirroot.'/tag/coursetagslib.php');
             return coursetag_rss_feeds();
         } else {