diff --git a/block_alerts.php b/block_alerts.php index aa7b196..ca7431e 100644 --- a/block_alerts.php +++ b/block_alerts.php @@ -77,7 +77,7 @@ public function get_content(): stdClass { return $this->content; } - /** + /** * Return if user has archetype editingteacher. * */ @@ -104,9 +104,9 @@ public static function is_teacher(): bool { public function fetch_alert(): array { // Staff only check. if (get_config('block_alerts', 'staffonly')) { - if (!self::is_teacher()) { - return []; // Don't ouput for learners. - } + if (!self::is_teacher()) { + return []; // Don't ouput for learners. + } } // Template data for mustache.