aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/wiki.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-09 09:18:53 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-09 09:25:41 +0100
commit343a471f165dfef235e056caec1955fd9ee423cb (patch)
treec2f865dcbc25695a581e4d655ea2b30a0edc3e1f /app/controllers/course/wiki.php
parent6a14782858a297ead2f509652ce914d8aefb5531 (diff)
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330 Merge request studip/studip!4802
Diffstat (limited to 'app/controllers/course/wiki.php')
-rw-r--r--app/controllers/course/wiki.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/course/wiki.php b/app/controllers/course/wiki.php
index ca699b4..ae9474b 100644
--- a/app/controllers/course/wiki.php
+++ b/app/controllers/course/wiki.php
@@ -59,8 +59,8 @@ class Course_WikiController extends AuthenticatedController
'<a href="%s">%s</a>',
URLHelper::getLink('dispatch.php/course/wiki/edit_toc'),
$toc_content_empty
- ? Icon::create('add')->asSvg(['title' => _('Erstellen')])
- : Icon::create('edit')->asSvg(['title' => _('Bearbeiten')])
+ ? Icon::create('add')->asImg(['title' => _('Erstellen')])
+ : Icon::create('edit')->asImg(['title' => _('Bearbeiten')])
);
$widget->setExtra($extra);
}