aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/basicdata.php
diff options
context:
space:
mode:
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(