From: vyshane Date: Fri, 22 Sep 2006 09:11:46 +0000 (+0000) Subject: Added comment regarding $isteacher being deprecated in print_recent_activity() X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=66b0b1042b24be37439ae3becf2e31c7909b4f43;p=moodle.git Added comment regarding $isteacher being deprecated in print_recent_activity() --- diff --git a/course/lib.php b/course/lib.php index 34d265deee..00644157b9 100644 --- a/course/lib.php +++ b/course/lib.php @@ -880,6 +880,15 @@ function print_recent_activity($course) { include_once($CFG->dirroot.'/mod/'.$mod->name.'/lib.php'); $print_recent_activity = $mod->name.'_print_recent_activity'; if (function_exists($print_recent_activity)) { + // + // NOTE: + // $isteacher is to be deprecated! + // + // TODO: + // 1) Make sure that all _print_recent_activity functions are not + // using the $isteacher value. + // 2) Remove the $isteacher parameter from the function calls. + // $modcontent = $print_recent_activity($course, $isteacher, $timestart); if ($modcontent) { $content = true;