Skip to content

Commit 7af5166

Browse files
authored
Merge pull request #138 from RRZE-Webteam/dev
Dev
2 parents 5e23bf8 + f5439c6 commit 7af5166

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

includes/Modules/Notifications/Notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ public function register_settings()
633633
add_settings_field('post_diff_notify', __('Änderungen des Dokumentinhaltes benachrichtigen?', 'cms-workflow'), array($this, 'settings_post_diff_notify_option'), $this->module->workflow_options_name, $this->module->workflow_options_name . '_authors');
634634
}
635635

636-
if ($this->module_activated('post_versioning')) {
636+
if ($this->module_activated('versioning')) {
637637
add_settings_section($this->module->workflow_options_name . '_versioning', __('Versionierung', 'cms-workflow'), '__return_false', $this->module->workflow_options_name);
638638
add_settings_field('post_versioning_new_notify', __('Neue Version eines Dokuments benachrichtigen?', 'cms-workflow'), array($this, 'settings_post_versioning_new_notify_option'), $this->module->workflow_options_name, $this->module->workflow_options_name . '_versioning');
639639
}

includes/Modules/Translation/Translation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ private function get_alternate_posts()
678678
{
679679
global $wp_query;
680680

681-
if (!$this->module_activated('network') || !$this->module_activated('post_versioning')) {
681+
if (!$this->module_activated('network') || !$this->module_activated('versioning')) {
682682
return false;
683683
}
684684

0 commit comments

Comments
 (0)