Select Git revision
studip-4.2.php
Forked from
Stud.IP / Stud.IP
4236 commits behind the upstream repository.

Marcus Eibrink-Lunzenauer authored and
Jan-Hendrik Willms
committed
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
studip-4.2.php 992 B
<?php
// "Rules"/definitions for critical changes in 4.2
return [
'get_perm' => 'Use the <fg=yellow>CourseMember</> or <fg=yellow>InstitutMember</> model instead.',
'get_vorname' => 'Use <fg=yellow>User::find($id)->vorname</> instead',
'get_nachname' => 'Use <fg=yellow>User::find($id)->nachname</> instead',
'get_range_tree_path' => false,
'get_seminar_dozent' => 'Use <fg=yellow>Course::find($id)->getMembersWithStatus(\'dozent\')</> instead.',
'get_seminar_tutor' => 'Use <fg=yellow>Course::find($id)->getMembersWithStatus(\'tutor\')</> instead.',
'get_seminar_sem_tree_entries' => false,
'get_seminars_users' => 'Use <fg=yellow>CourseMember::findByUser($user_id)</> instead to aquire all courses.',
'remove_magic_quotes' => false,
'text_excerpt' => false,
'check_group_new' => false,
'insertNewSemester' => 'Use the <fg=yellow>Semester</> model instead.',
'updateExistingSemester' => 'Use the <fg=yellow>Semester</> model instead.',
];