mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
* ImportExport: fix not working scheduled import caused by failure to update (the not existing) UI
This commit is contained in:
parent
be7f95d0aa
commit
fa1e4017d7
@ -416,7 +416,9 @@ use EGroupware\Api\Etemplate;
|
|||||||
public static function sendUpdate($complete, $label = '', $log = '')
|
public static function sendUpdate($complete, $label = '', $log = '')
|
||||||
{
|
{
|
||||||
// No real push, no updates
|
// No real push, no updates
|
||||||
if(EGroupware\Api\Json\Push::onlyFallback() || !\EGroupware\Api\Json\Request::isJSONRequest())
|
if (EGroupware\Api\Json\Push::onlyFallback() || !\EGroupware\Api\Json\Request::isJSONRequest() ||
|
||||||
|
// async service has no session(-id) and push will throw an AssertionFailed exception
|
||||||
|
empty($GLOBALS['egw']->session->sessionid))
|
||||||
{
|
{
|
||||||
error_log($complete . "% $label\t" . $log);
|
error_log($complete . "% $label\t" . $log);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user