# This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- HEAD +++ Modified In Working Tree @@ -39,7 +39,6 @@ global $CFG, $OUTPUT; if (has_capability('report/loglive:view', $context)) { $url = new moodle_url('/report/loglive/index.php', array('id'=>$course->id, 'inpopup'=>1)); - $action = new action_link($url, get_string('pluginname', 'report_loglive'), new popup_action('click', $url)); - $navigation->add('', $action, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', '')); + $navigation->add(get_string('pluginname', 'report_loglive'), $url, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', '')); } }