Built motion from commit 1fd437e9.|2.6.19
[motion2.git] / server / api / user-setting / user-setting.model.js
index 6b0826b..c02c403 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xee5b=['./user-setting.attributes','define','user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0xee5b,0x1f4));var _0xbee5=function(_0x4327f1,_0x36ff89){_0x4327f1=_0x4327f1-0x0;var _0x59a98a=_0xee5b[_0x4327f1];return _0x59a98a;};'use strict';var attributes=require(_0xbee5('0x0'));module['exports']=function(_0x7b2344){return _0x7b2344[_0xbee5('0x1')]('UserSetting',attributes,{'tableName':_0xbee5('0x2'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x2b93c2){if(!_0x2b93c2[_0xbee5('0x3')])_0x2b93c2[_0xbee5('0x4')]=null;else if(_0x2b93c2['clientSideLoggingEnabledSince']===null)_0x2b93c2['clientSideLoggingEnabledSince']=new Date();}}});};
\ No newline at end of file
+var _0x5ff3=['clientSideLoggingEnabledSince','exports','define','user_settings','clientSideLoggingEnabled'];(function(_0x1be098,_0x396596){var _0x37be1a=function(_0x183c39){while(--_0x183c39){_0x1be098['push'](_0x1be098['shift']());}};_0x37be1a(++_0x396596);}(_0x5ff3,0x17d));var _0x35ff=function(_0x1a81b4,_0x4d011a){_0x1a81b4=_0x1a81b4-0x0;var _0x42964e=_0x5ff3[_0x1a81b4];return _0x42964e;};'use strict';var attributes=require('./user-setting.attributes');module[_0x35ff('0x0')]=function(_0x48cbf7){return _0x48cbf7[_0x35ff('0x1')]('UserSetting',attributes,{'tableName':_0x35ff('0x2'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x1bb200){if(!_0x1bb200[_0x35ff('0x3')])_0x1bb200[_0x35ff('0x4')]=null;else if(_0x1bb200['clientSideLoggingEnabledSince']===null)_0x1bb200[_0x35ff('0x4')]=new Date();}}});};
\ No newline at end of file