Index: branches/5.2.x/core/units/email_templates/email_template_eh.php =================================================================== diff -u -N -r16598 -r16599 --- branches/5.2.x/core/units/email_templates/email_template_eh.php (.../email_template_eh.php) (revision 16598) +++ branches/5.2.x/core/units/email_templates/email_template_eh.php (.../email_template_eh.php) (revision 16599) @@ -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'), @@ -219,6 +220,22 @@ } /** + * [AJAX] Process emails from queue. + * + * @param kEvent $event Event. + * + * @return void + * @deprecated 5.2.2-B2 + * @see EmailQueueEventHandler::OnProcessAjax() + */ + function OnProcessEmailQueue($event) + { + kUtil::deprecatedMethod(__METHOD__, '5.2.2-B2', 'EmailQueueEventHandler::OnProcessAjax'); + + $event->CallSubEvent('email-queue:OnProcessAjax'); + } + + /** * Prefills module dropdown * * @param kEvent $event