Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
63 | public function init() |
||
64 | { |
||
65 | craft()->on('entryRevisions.saveDraft', array(craft()->draftNotifications_eventCallback, 'saveDraftCallBack')); |
||
66 | craft()->on('entryRevisions.deleteDraft', array(craft()->draftNotifications_eventCallback, 'deleteDraftCallBack')); |
||
67 | craft()->on('entries.saveEntry', array(craft()->draftNotifications_eventCallback, 'saveEntryCallBack')); |
||
68 | craft()->on('entries.deleteEntry', array(craft()->draftNotifications_eventCallback, 'deleteEntryCallBack')); |
||
69 | } |
||
70 | } |