Index: branches/5.3.x/core/units/email_templates/email_template_eh.php =================================================================== diff -u -N -r16519 -r16597 --- branches/5.3.x/core/units/email_templates/email_template_eh.php (.../email_template_eh.php) (revision 16519) +++ branches/5.3.x/core/units/email_templates/email_template_eh.php (.../email_template_eh.php) (revision 16597) @@ -1,6 +1,6 @@ Array ('self' => 'edit'), 'OnSaveSelected' => Array ('self' => 'view'), + 'OnProcessEmailQueue' => Array ('self' => 'add|edit'), 'OnExportEmailTemplates' => Array ('self' => 'view'), 'OnSuggestAddressJSON' => Array ('self' => 'add|edit'), @@ -217,6 +218,22 @@ } /** + * [AJAX] Process emails from queue. + * + * @param kEvent $event Event. + * + * @return void + * @deprecated 5.3.0-B1 + * @see EmailQueueEventHandler::OnProcessAjax() + */ + function OnProcessEmailQueue($event) + { + kUtil::deprecatedMethod(__METHOD__, '5.3.0-B1', 'EmailQueueEventHandler::OnProcessAjax'); + + $event->CallSubEvent('email-queue:OnProcessAjax'); + } + + /** * Prefills module dropdown * * @param kEvent $event