From: jbeedell Date: Fri, 19 Sep 2008 16:00:52 +0000 (+0000) Subject: Minor patch for MDL-11992 course tagging. Corrected a statement in cron(). X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c34984cfcc39dbe2dd0811caa5e32ecd6d04e301;p=moodle.git Minor patch for MDL-11992 course tagging. Corrected a statement in cron(). --- diff --git a/blocks/tags/block_tags.php b/blocks/tags/block_tags.php index 71b9724461..90f598e531 100644 --- a/blocks/tags/block_tags.php +++ b/blocks/tags/block_tags.php @@ -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 {