Skip to content

Commit

Permalink
Merge pull request #138 from RRZE-Webteam/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rvdforst authored Aug 2, 2024
2 parents 5e23bf8 + f5439c6 commit 7af5166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/Modules/Notifications/Notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ public function register_settings()
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');
}

if ($this->module_activated('post_versioning')) {
if ($this->module_activated('versioning')) {
add_settings_section($this->module->workflow_options_name . '_versioning', __('Versionierung', 'cms-workflow'), '__return_false', $this->module->workflow_options_name);
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');
}
Expand Down
2 changes: 1 addition & 1 deletion includes/Modules/Translation/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ private function get_alternate_posts()
{
global $wp_query;

if (!$this->module_activated('network') || !$this->module_activated('post_versioning')) {
if (!$this->module_activated('network') || !$this->module_activated('versioning')) {
return false;
}

Expand Down

0 comments on commit 7af5166

Please sign in to comment.