aboutsummaryrefslogtreecommitdiff
path: root/lib/models/CourseDate.class.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-01-06 16:56:40 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2023-01-06 16:56:40 +0000
commitc22252958da1c01b0cc9a0da4e891ea52f7ad09c (patch)
treeaa9197920edd581030cf6aa7926331ee685d9e1a /lib/models/CourseDate.class.php
parentb88099126ea22a4605064a645f733b1bc9e1f2e1 (diff)
remove RESOURCES_ENABLE_EXPERT_SCHEDULE_VIEW for good, fixes #1985
Closes #1985 Merge request studip/studip!1288
Diffstat (limited to 'lib/models/CourseDate.class.php')
-rw-r--r--lib/models/CourseDate.class.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/models/CourseDate.class.php b/lib/models/CourseDate.class.php
index 7acbb15..bcfe5c7 100644
--- a/lib/models/CourseDate.class.php
+++ b/lib/models/CourseDate.class.php
@@ -405,12 +405,7 @@ class CourseDate extends SimpleORMap implements PrivacyObject
{
$warnings = [];
if (count($this->topics) > 0) {
- if (Config::get()->RESOURCES_ENABLE_EXPERT_SCHEDULE_VIEW) {
- $warnings[] = _('Diesem Termin ist im Ablaufplan ein Thema zugeordnet.') . "\n"
- . _('Titel und Beschreibung des Themas bleiben erhalten und können in der Expertenansicht des Ablaufplans einem anderen Termin wieder zugeordnet werden.');
- } else {
- $warnings[] = _('Diesem Termin ist ein Thema zugeordnet.');
- }
+ $warnings[] = _('Diesem Termin ist ein Thema zugeordnet.');
}
if (Config::get()->RESOURCES_ENABLE && $this->getRoom()) {