mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Importexport: Avoid error from push when running scheduled import/export
This commit is contained in:
parent
52b48140fe
commit
3a037c970c
@ -414,8 +414,9 @@ use EGroupware\Api\Etemplate;
|
||||
* @throws Api\Json\Exception
|
||||
*/
|
||||
public static function sendUpdate($complete, $label = '', $log = '')
|
||||
{ // No real push, no updates
|
||||
if(EGroupware\Api\Json\Push::onlyFallback())
|
||||
{
|
||||
// No real push, no updates
|
||||
if(EGroupware\Api\Json\Push::onlyFallback() || !\EGroupware\Api\Json\Request::isJSONRequest())
|
||||
{
|
||||
error_log($complete . "% $label\t" . $log);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user