1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

New event trigger names reworked. Replaced all '-' with '_' for compatibility with e_notify.

This commit is contained in:
Cameron
2015-02-12 16:52:30 -08:00
parent 3e802c2751
commit dab64ca165
13 changed files with 41 additions and 32 deletions

View File

@@ -1784,7 +1784,7 @@ $columnInfo = array(
unset($dlInfo['download_class']); // Also replicating 0.7
$e_event->trigger('dlupdate', $dlInfo); // @deprecated
e107::getEvent()->trigger('admin-download-update',$dlInfo);
e107::getEvent()->trigger('admin_download_update',$dlInfo);
}
else // Its a new entry.
{
@@ -1804,7 +1804,7 @@ $columnInfo = array(
unset($dlInfo['download_class']); // Also replicating 0.7
$e_event->trigger("dlpost", $dlInfo); // @deprecated
e107::getEvent()->trigger('admin-download-create',$dlInfo);
e107::getEvent()->trigger('admin_download_create',$dlInfo);
if ($_POST['remove_upload'])
{