commit 73feef0b0a8794d49fc973e02b43687058681322
parent 59b9ad15a53e6afe00b2e5f092076382a74331d4
Author: Jan Dankert <devnull@localhost>
Date: Sun, 29 Mar 2015 01:41:53 +0100
Sitzung freigeben, wenn Veröffentlichung gestartet wurde.
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/action/PageAction.class.php b/action/PageAction.class.php
@@ -743,6 +743,8 @@ class PageAction extends ObjectAction
if ( !$this->page->hasRight( ACL_PUBLISH ) )
Http::notAuthorized( 'no right for publish' );
+ Session::close();
+
$this->page->public = true;
$this->page->publish();
$this->page->publish->close();
diff --git a/action/TemplateAction.class.php b/action/TemplateAction.class.php
@@ -490,6 +490,8 @@ class TemplateAction extends Action
public function pubPost()
{
$objectIds = $this->template->getDependentObjectIds();
+
+ Session::close();
foreach( $objectIds as $objectid )
{