Skip to content

Commit ce4d1c4

Browse files
Fixed visibility in the init method
1 parent c8d41a6 commit ce4d1c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

block_profile_redirect.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2424
*/
2525
class block_profile_redirect extends block_base {
26-
27-
function init() {
26+
public function init() {
2827
$this->title = get_string('blockname', 'block_profile_redirect');
2928
}
3029

0 commit comments

Comments
 (0)