aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRasmus Fuhse <fuhse@data-quest.de>2025-07-10 08:32:09 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-07-11 09:57:01 +0200
commit667f1baeed196cd90731cbe53cbb6e386b5d1f1f (patch)
treef079a2948e19b078c2407ee1673bde9ff380a574 /lib
parent80171377a94b10a34fd0bd085c89b8b08ad269c5 (diff)
Resolve "Wiki: automatisches Speichern funktioniert nicht, wenn "Benachrichtigungen über Javascript" deaktivert ist"
Closes #4847, #4848, and #935 Merge request studip/studip!4337
Diffstat (limited to 'lib')
-rw-r--r--lib/include/html_head.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/include/html_head.inc.php b/lib/include/html_head.inc.php
index 7e7bdea..c028ab2 100644
--- a/lib/include/html_head.inc.php
+++ b/lib/include/html_head.inc.php
@@ -48,8 +48,7 @@ $lang_attr = str_replace('_', '-', $_SESSION['_language']);
},
jsupdate_enable: <?= json_encode(
is_object($GLOBALS['perm']) &&
- $GLOBALS['perm']->have_perm('autor') &&
- PersonalNotifications::isActivated()) ?>,
+ $GLOBALS['perm']->have_perm('autor')) ?>,
wysiwyg_enabled: <?= json_encode((bool) Config::get()->WYSIWYG) ?>
}
</script>