#2539 - fixed doubled push notifications
This commit is contained in:
parent
c9930d3d52
commit
41bd5e4e50
@ -144,9 +144,10 @@
|
||||
|
||||
$message = false;
|
||||
foreach (array('/mail/push_notifications/', '/mail/notifications/') as $dir){
|
||||
$this->smarty->clearCache($templateFile = TEMPLATE_DIR.$dir.$template.'.tpl');
|
||||
$this->smarty->clearCache($templateFile = TEMPLATE_DIR.$dir.$template.'.tpl');
|
||||
try {
|
||||
$message = $this->smarty->fetch($templateFile);
|
||||
break;
|
||||
} catch (SmartyException $e){
|
||||
|
||||
}
|
||||
@ -168,4 +169,3 @@
|
||||
$pushnotification->setConfig($config);
|
||||
$pushnotification->setSetting($setting);
|
||||
$pushnotification->setErrorCodes($aErrorCodes);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user