aboutsummaryrefslogtreecommitdiff
path: root/lib/models/CourseTopic.class.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-09-05 09:35:57 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2023-09-05 09:35:57 +0000
commit7b526a48e19d0a62ea204081eb1768a2d1b7e48c (patch)
treeaaec9dba3c6f8f59f8d6e2d55ada9ebf6f00eb8e /lib/models/CourseTopic.class.php
parentf7c6d4610f082beb72c9093a7192cfb8024f988c (diff)
swap priorities instead of increasing/decreasing the priorities, fixes #3031
Closes #3031 Merge request studip/studip!2035
Diffstat (limited to 'lib/models/CourseTopic.class.php')
-rw-r--r--lib/models/CourseTopic.class.php3
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()
{