purge the nasty hooks \o/
[platal.git] / modules / events.php
index 8c13572..8fa4f28 100644 (file)
@@ -37,6 +37,12 @@ class EventsModule extends PLModule
         );
     }
 
+    function on_subscribe($forlife, $uid, $promo, $password)
+    {
+        require_once 'newsletter.inc.php';
+        subscribe_nl($uid);
+    }
+
     function handler_ev(&$page)
     {
         $page->changeTpl('login.tpl');