diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-09-05 09:35:57 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-09-05 09:35:57 +0000 |
| commit | 7b526a48e19d0a62ea204081eb1768a2d1b7e48c (patch) | |
| tree | aaec9dba3c6f8f59f8d6e2d55ada9ebf6f00eb8e /lib | |
| parent | f7c6d4610f082beb72c9093a7192cfb8024f988c (diff) | |
swap priorities instead of increasing/decreasing the priorities, fixes #3031
Closes #3031
Merge request studip/studip!2035
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/models/CourseTopic.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/models/CourseTopic.class.php b/lib/models/CourseTopic.class.php index 56a060d..61468d7 100644 --- a/lib/models/CourseTopic.class.php +++ b/lib/models/CourseTopic.class.php @@ -197,6 +197,7 @@ class CourseTopic extends SimpleORMap * mean higher priority. * * @return boolean + * @todo Deprecated, remove for Stud.IP 6.0 */ public function increasePriority() { @@ -227,6 +228,8 @@ class CourseTopic extends SimpleORMap * Decreases the priority of this topic. Meaning the topic will be sorted further down. * Be aware that this actually increases the priority property since higher numbers * mean lower priority. + * + * @todo Deprecated, remove for Stud.IP 6.0 */ public function decreasePriority() { |
