Skip to content
Snippets Groups Projects
Select Git revision
  • b0a1a7adf5203efa32661b96ecb023fef74c5d2d
  • main default protected
  • 5.5 protected
  • atlantis
  • 5.3 protected
  • 5.0 protected
  • issue-23
  • issue8-seat-logging-and-export
  • ticket-216
  • tickets-215-216-241-242
10 results

studip-4.2.php

Blame
  • Forked from Stud.IP / Stud.IP
    4236 commits behind the upstream repository.
    Marcus Eibrink-Lunzenauer's avatar
    Marcus Eibrink-Lunzenauer authored and Jan-Hendrik Willms committed
    b0a1a7ad
    History
    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.',
    ];