Merge branch 'MDL-47408-27' of https://github.com/DmitryNefedov/moodle into MOODLE_27_STABLE
This commit is contained in:
+1
-1
@@ -691,7 +691,7 @@ if ($mode === MODE_USERDETAILS) { // Print simple listing.
|
||||
|
||||
$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