mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
MDL-40451 block/glossary_random Fixed missing header when adding new block
This commit is contained in:
parent
1446e02f69
commit
48a3a4d621
@ -245,12 +245,5 @@ class block_glossary_random extends block_base {
|
||||
|
||||
return $this->content;
|
||||
}
|
||||
|
||||
function hide_header() {
|
||||
if (empty($this->config->title)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user