diff options
| author | Thomas Hackl <hackl@data-quest.de> | 2024-11-22 12:59:24 +0000 |
|---|---|---|
| committer | Thomas Hackl <hackl@data-quest.de> | 2024-11-22 12:59:24 +0000 |
| commit | 687255810bb918b82d3c048fc068d8972cfce5ac (patch) | |
| tree | 02d9bcfa23ef400e6d797e8aa34df08b000e470a /lib | |
| parent | 64f6b0103605c3fb52dea46154ee20f2c169c2e1 (diff) | |
Resolve "statische Message Boxen neu gestalten"
Closes #4504
Merge request studip/studip!3673
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/classes/MessageBox.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/classes/MessageBox.php b/lib/classes/MessageBox.php index b2854d8..54a4a85 100644 --- a/lib/classes/MessageBox.php +++ b/lib/classes/MessageBox.php @@ -40,7 +40,6 @@ class MessageBox implements LayoutMessage, JsonSerializable public $message; public $details; public $close_details; - protected $hide_close = false; public static $counter = 0; /** @@ -137,7 +136,6 @@ class MessageBox implements LayoutMessage, JsonSerializable */ public function hideClose($state = true) { - $this->hide_close = (bool) $state; return $this; } @@ -147,7 +145,7 @@ class MessageBox implements LayoutMessage, JsonSerializable */ public function isCloseable(): bool { - return $this->hide_close; + return false; } /** @@ -169,7 +167,6 @@ class MessageBox implements LayoutMessage, JsonSerializable 'message' => $this->message, 'details' => is_array($this->details) ? $this->details : [], 'close_details' => $this->close_details, - 'hide_close' => $this->hide_close, 'label' => $label[$this->class], 'counter' => self::$counter++, ]); |
