Merge branch 'MDL-47408-26' of https://github.com/DmitryNefedov/moodle into MOODLE_26_STABLE
This commit is contained in:
+1
-1
@@ -670,7 +670,7 @@
|
||||
|
||||
$links = array();
|
||||
|
||||
if ($CFG->bloglevel > 0) {
|
||||
if ($CFG->enableblogs && $CFG->bloglevel > 0) {
|
||||
$links[] = html_writer::link(new moodle_url('/blog/index.php?userid='.$user->id), get_string('blogs','blog'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user