Skip to content

Commit

Permalink
CI indents
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartlamour committed Dec 13, 2024
1 parent fdf92b3 commit eb3f1c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions block_alerts.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function get_content(): stdClass {
return $this->content;
}

/**
/**
* Return if user has archetype editingteacher.
*
*/
Expand All @@ -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.
Expand Down

0 comments on commit eb3f1c5

Please sign in to comment.