diff options
| author | Murtaza Sultani <sultani@data-quest.de> | 2025-09-05 09:54:01 +0200 |
|---|---|---|
| committer | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2025-09-05 09:54:01 +0200 |
| commit | 3e4214d86aa0980458abba716316639987ac8995 (patch) | |
| tree | 64668511c55ffce94b16f41ec5324a82b976cfa7 /lib | |
| parent | a70127011f09d2f98a874cdc1468a73d36ff8721 (diff) | |
Resolve "Forum3: Forumskonfigurationen von Veranstaltungskategorien entfernen"
Closes #5794
Merge request studip/studip!4415
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/classes/JsonApi/Schemas/SemClass.php | 2 | ||||
| -rw-r--r-- | lib/classes/SemClass.php | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/classes/JsonApi/Schemas/SemClass.php b/lib/classes/JsonApi/Schemas/SemClass.php index ea01a63..eb894aa 100644 --- a/lib/classes/JsonApi/Schemas/SemClass.php +++ b/lib/classes/JsonApi/Schemas/SemClass.php @@ -24,8 +24,6 @@ class SemClass extends SchemaProvider 'default-write-level' => (int) $resource['default_write_level'], 'bereiche' => (int) $resource['bereiche'], 'show-browse' => (bool) $resource['show_browse'], - 'write-access-nobody' => (bool) $resource['write_access_nobody'], - 'topic-create-autor' => (bool) $resource['topic_create_autor'], 'visible' => (bool) $resource['visible'], 'course-creation-forbidden' => (bool) $resource['course_creation_forbidden'], ]; diff --git a/lib/classes/SemClass.php b/lib/classes/SemClass.php index e541d8c..5e20af5 100644 --- a/lib/classes/SemClass.php +++ b/lib/classes/SemClass.php @@ -370,8 +370,6 @@ class SemClass implements ArrayAccess "bereiche = :bereiche, " . "module = :module, " . "show_browse = :show_browse, " . - "write_access_nobody = :write_access_nobody, " . - "topic_create_autor = :topic_create_autor, " . "visible = :visible, " . "course_creation_forbidden = :course_creation_forbidden, " . "modules = :modules, " . @@ -403,8 +401,6 @@ class SemClass implements ArrayAccess 'bereiche' => (int) $this->data['bereiche'], 'module' => (int) $this->data['module'], 'show_browse' => (int) $this->data['show_browse'], - 'write_access_nobody' => (int) $this->data['write_access_nobody'], - 'topic_create_autor' => (int) $this->data['topic_create_autor'], 'visible' => (int) $this->data['visible'], 'course_creation_forbidden' => (int) $this->data['course_creation_forbidden'], 'modules' => json_encode((object) $this->data['modules']), @@ -503,10 +499,6 @@ class SemClass implements ArrayAccess return (bool) $this->data['bereiche']; case "show_browse": return (bool) $this->data['show_browse']; - case "write_access_nobody": - return (bool) $this->data['write_access_nobody']; - case "topic_create_autor": - return (bool) $this->data['topic_create_autor']; case "visible": return (bool) $this->data['visible']; case "studygroup_mode": |
