diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2024-03-14 17:08:26 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2024-03-14 17:08:26 +0000 |
| commit | 0fb33e2e8ea3a40bd45f72dc16f65419e82a656c (patch) | |
| tree | bb3eff329cd9719c20030ab9d09427f755b9f898 /app/controllers/course/statusgroups.php | |
| parent | f2f70529462f10f08d7a0ca57bfb50c80e645fa4 (diff) | |
replaced getFullname with getFullName, re #3499
Merge request studip/studip!2660
Diffstat (limited to 'app/controllers/course/statusgroups.php')
| -rw-r--r-- | app/controllers/course/statusgroups.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/course/statusgroups.php b/app/controllers/course/statusgroups.php index 02f4579..3edccb2 100644 --- a/app/controllers/course/statusgroups.php +++ b/app/controllers/course/statusgroups.php @@ -32,7 +32,7 @@ class Course_StatusgroupsController extends AuthenticatedController $course = Course::findCurrent(); $this->course_id = $course->id; - $this->course_title = $course->getFullname(); + $this->course_title = $course->getFullName(); $this->config = CourseConfig::get($this->course_id); // Check perms @@ -49,7 +49,7 @@ class Course_StatusgroupsController extends AuthenticatedController $this->is_locked = LockRules::Check($this->course_id, 'groups'); $this->is_participants_locked = LockRules::Check($this->course_id, 'participants'); - PageLayout::setTitle(sprintf('%s - %s', Course::findCurrent()->getFullname(), _('Gruppen'))); + PageLayout::setTitle(sprintf('%s - %s', Course::findCurrent()->getFullName(), _('Gruppen'))); PageLayout::addStyleSheet('studip-statusgroups.css'); PageLayout::addScript('studip-statusgroups.js'); } @@ -672,7 +672,7 @@ class Course_StatusgroupsController extends AuthenticatedController } $s = StatusgruppeUser::find([$group_id, $user_id]); - $name = $s->user->getFullname(); + $name = $s->user->getFullName(); if ($s->delete()) { if ($user_id == $GLOBALS['user']->id) { PageLayout::postSuccess(sprintf( @@ -943,7 +943,7 @@ class Course_StatusgroupsController extends AuthenticatedController $dates = CourseDate::findBySeminar_id($this->course_id); $singledates = array_filter($dates, function ($d) { return !((bool) $d->metadate_id); }); foreach ($singledates as $d) { - $name = $d->getFullname(); + $name = $d->getFullName(); // Append description to group title if applicable. if ($d->description) { |
