Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / mailSubstatus / mailSubstatus.events.js
index c15b904..ff6f5ec 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc418=['update','emit','hasOwnProperty','hook','events','../../mysqldb','MailSubstatus'];(function(_0x5a636f,_0x3fec2b){var _0x6a8cfb=function(_0x20e6ca){while(--_0x20e6ca){_0x5a636f['push'](_0x5a636f['shift']());}};_0x6a8cfb(++_0x3fec2b);}(_0xc418,0x1cb));var _0x8c41=function(_0x444931,_0x9e22c0){_0x444931=_0x444931-0x0;var _0x3ace8c=_0xc418[_0x444931];return _0x3ace8c;};'use strict';var EventEmitter=require(_0x8c41('0x0'));var MailSubstatus=require(_0x8c41('0x1'))['db'][_0x8c41('0x2')];var MailSubstatusEvents=new EventEmitter();MailSubstatusEvents['setMaxListeners'](0x0);var events={'afterUpdate':_0x8c41('0x3')};function emitEvent(_0x58cdf8){return function(_0x5cd6b5,_0x5b5e41,_0x28b118){MailSubstatusEvents[_0x8c41('0x4')](_0x58cdf8+':'+_0x5cd6b5['id'],_0x5cd6b5);MailSubstatusEvents[_0x8c41('0x4')](_0x58cdf8,_0x5cd6b5);_0x28b118(null);};}for(var e in events){if(events[_0x8c41('0x5')](e)){var event=events[e];MailSubstatus[_0x8c41('0x6')](e,emitEvent(event));}}module['exports']=MailSubstatusEvents;
\ No newline at end of file
+var _0xcc3c=['setMaxListeners','update','emit','hasOwnProperty','events','../../mysqldb','MailSubstatus'];(function(_0x2d789f,_0x15ba8a){var _0x92ed2=function(_0x162fc4){while(--_0x162fc4){_0x2d789f['push'](_0x2d789f['shift']());}};_0x92ed2(++_0x15ba8a);}(_0xcc3c,0xa5));var _0xccc3=function(_0x36ae90,_0x1a8ea5){_0x36ae90=_0x36ae90-0x0;var _0x52b505=_0xcc3c[_0x36ae90];return _0x52b505;};'use strict';var EventEmitter=require(_0xccc3('0x0'));var MailSubstatus=require(_0xccc3('0x1'))['db'][_0xccc3('0x2')];var MailSubstatusEvents=new EventEmitter();MailSubstatusEvents[_0xccc3('0x3')](0x0);var events={'afterUpdate':_0xccc3('0x4')};function emitEvent(_0x364b37){return function(_0x82a06c,_0x50e3b9,_0x581db1){MailSubstatusEvents[_0xccc3('0x5')](_0x364b37+':'+_0x82a06c['id'],_0x82a06c);MailSubstatusEvents[_0xccc3('0x5')](_0x364b37,_0x82a06c);_0x581db1(null);};}for(var e in events){if(events[_0xccc3('0x6')](e)){var event=events[e];MailSubstatus['hook'](e,emitEvent(event));}}module['exports']=MailSubstatusEvents;
\ No newline at end of file