Change-Id: I6b95153cb2c8502b6a302f78702a92dff3d1f1b2
Reviewed-on: http://gerrit.tine20.com/customers/3481
Tested-by: Jenkins CI (http://ci.tine20.com/)
Tested-by: sstamer <s.stamer@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
*/
public static function startSetupSession ()
{
- Tinebase_Session::setSessionBackend();
-
- Zend_Session::start();
-
+ if (! Setup_Session::isStarted()) {
+ Setup_Session::setSessionBackend();
+ Zend_Session::start();
+ }
+
$setupSession = Setup_Session::getSessionNamespace();
if (isset($setupSession->setupuser)) {
Setup_Core::initFramework();
- if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__ .' is http request. method: ' . $this->getRequestMethod());
+ if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__
+ .' is http request. method: ' . $this->getRequestMethod());
$server = new Tinebase_Http_Server();
$server->setClass('Setup_Frontend_Http', 'Setup');