block show error fixed.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -45,9 +45,9 @@ class block_log extends block_base { | ... | @@ -45,9 +45,9 @@ class block_log extends block_base { |
45 | $this->content->footer = ''; | 45 | $this->content->footer = ''; |
46 | $this->content->text = ''; | 46 | $this->content->text = ''; |
47 | 47 | ||
48 | $this->content->text = 'This block shows all cron entries logs.'; | ||
49 | $isadmin = has_capability('block/log:manageall', context_system::instance()); | 48 | $isadmin = has_capability('block/log:manageall', context_system::instance()); |
50 | if($isadmin) { | 49 | if($isadmin) { |
50 | $this->content->text = 'This block shows all cron entries logs.'; | ||
51 | $this->content->text .= '<br><div><a href="'.$CFG->wwwroot.'/blocks/log/view.php">View cron logs</a></div>'; | 51 | $this->content->text .= '<br><div><a href="'.$CFG->wwwroot.'/blocks/log/view.php">View cron logs</a></div>'; |
52 | } | 52 | } |
53 | 53 | ... | ... |
-
Please register or sign in to post a comment