mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Importexport: Disable push notifications when importing to save time
This commit is contained in:
parent
437ad34300
commit
9c4ae50735
@ -150,8 +150,13 @@ use EGroupware\Api\Etemplate;
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Disable push so we don't overload or spend time notifying
|
||||||
|
EGroupware\Swoolepush\Hooks::pushDisabled(true);
|
||||||
|
|
||||||
importexport_helper_functions::$dry_run = false;
|
importexport_helper_functions::$dry_run = false;
|
||||||
$count = $plugin->import($file, $definition_obj);
|
$count = $plugin->import($file, $definition_obj);
|
||||||
|
|
||||||
|
EGroupware\Swoolepush\Hooks::pushDisabled(false);
|
||||||
|
|
||||||
// Close preview
|
// Close preview
|
||||||
EGroupware\Api\Json\Response::get()->call('app.importexport.closePreview');
|
EGroupware\Api\Json\Response::get()->call('app.importexport.closePreview');
|
||||||
|
Loading…
Reference in New Issue
Block a user