Skip to content

Commit

Permalink
version-Plugin: bei work_to_live neue Revision vor EP setzen (#5300)
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Aug 11, 2022
1 parent 99eaf7a commit 790c7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redaxo/src/addons/structure/plugins/version/boot.php
Expand Up @@ -93,8 +93,8 @@
$return .= rex_view::success(rex_i18n::msg('version_info_working_version_to_live'));

$article = rex_type::instanceOf(rex_article::get($articleId, $clangId), rex_article::class);
$return = rex_extension::registerPoint(new rex_extension_point_art_content_updated($article, 'work_to_live', $return));
rex_article_revision::setSessionArticleRevision($articleId, 0);
$return = rex_extension::registerPoint(new rex_extension_point_art_content_updated($article, 'work_to_live', $return));
}
break;
case 'copy_live_to_work':
Expand Down

0 comments on commit 790c7a9

Please sign in to comment.