diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-03-14 15:57:04 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-03-14 15:57:04 +0000 |
| commit | 78907eea8a8555ec98c6cc3cfca426f34825f236 (patch) | |
| tree | 670039df42481a130ed52082cf6b2673f9f7ddab | |
| parent | 3747906a6b28926e23eff5fb9aac3a4cfaa954fc (diff) | |
remove image methods and property from Sidebar class, fixes #3157
Closes #3157
Merge request studip/studip!2134
| -rw-r--r-- | lib/classes/sidebar/Sidebar.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/lib/classes/sidebar/Sidebar.php b/lib/classes/sidebar/Sidebar.php index a6e5ec0..65fc62d 100644 --- a/lib/classes/sidebar/Sidebar.php +++ b/lib/classes/sidebar/Sidebar.php @@ -8,10 +8,6 @@ */ class Sidebar extends WidgetContainer { - /** - * Contains an optional image for the container. - */ - protected $image = false; protected $title = false; protected $context_avatar = null; @@ -24,38 +20,6 @@ class Sidebar extends WidgetContainer } /** - * Set an image for the sidebar. - * - * @param String $image The image relative to assets/images - * @deprecated since Stud.IP 4.5 - */ - public function setImage($image) - { - } - - /** - * Returns the image for the sidebar. - * - * @return mixed Either the previously set image or false if no image - * has been set. - * @deprecated since Stud.IP 4.5 - */ - public function getImage() - { - return $this->image; - } - - /** - * Removes a previously set image. - * - * @deprecated since Stud.IP 4.5 - */ - public function removeImage() - { - $this->image = false; - } - - /** * Set a title of the sidebar. * * @param String $title The title of the sidebar. |
