aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/basicdata.php
diff options
context:
space:
mode:
authorRon Lucke <lucke@elan-ev.de>2024-06-25 14:56:16 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2024-06-25 14:56:16 +0000
commit1ddfe70c68edc75c1826a8feb78d0bcbc499e689 (patch)
treea89abb44d386f735bce83d66993e35ef0b638b7f /app/controllers/course/basicdata.php
parent7c6ddb32f81547305a2f6ae142367a930285f62c (diff)
TIC Avatar Modernisierung
Closes #4055 Merge request studip/studip!2877
Diffstat (limited to 'app/controllers/course/basicdata.php')
-rw-r--r--app/controllers/course/basicdata.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/controllers/course/basicdata.php b/app/controllers/course/basicdata.php
index 97ec053..329554f 100644
--- a/app/controllers/course/basicdata.php
+++ b/app/controllers/course/basicdata.php
@@ -379,10 +379,7 @@ class Course_BasicdataController extends AuthenticatedController
);
}
}
- $widget->addLink(_('Bild ändern'),
- $this->url_for('avatar/update/course', $this->course_id),
- Icon::create('edit')
- );
+
if ($GLOBALS['perm']->have_perm('admin')) {
$is_locked = $course->lock_rule;
$widget->addLink(