MDL-40451 block/glossary_random Fixed missing header when adding new block
authorAmanda Doughty <amanda.doughty.1@city.ac.uk>
Wed, 3 Sep 2014 13:01:54 +0000 (14:01 +0100)
committerAmanda Doughty <amanda.doughty.1@city.ac.uk>
Wed, 3 Sep 2014 13:01:54 +0000 (14:01 +0100)
blocks/glossary_random/block_glossary_random.php

index 4dc10eb..a16d200 100644 (file)
@@ -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;
-    }
 }