Built motion from commit 511216ff.|2.6.34
[motion2.git] / server / api / user-setting / user-setting.model.js
index cc7469e..46289b3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb74d=['clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes','UserSetting'];(function(_0x1ba4bd,_0x2e3473){var _0x3e3d53=function(_0xf0f5fa){while(--_0xf0f5fa){_0x1ba4bd['push'](_0x1ba4bd['shift']());}};_0x3e3d53(++_0x2e3473);}(_0xb74d,0x16e));var _0xdb74=function(_0x173113,_0x316a7c){_0x173113=_0x173113-0x0;var _0x3bea89=_0xb74d[_0x173113];return _0x3bea89;};'use strict';var attributes=require(_0xdb74('0x0'));module['exports']=function(_0x350d0d){return _0x350d0d['define'](_0xdb74('0x1'),attributes,{'tableName':'user_settings','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x1ba155){if(!_0x1ba155[_0xdb74('0x2')])_0x1ba155[_0xdb74('0x3')]=null;else if(_0x1ba155['clientSideLoggingEnabledSince']===null)_0x1ba155[_0xdb74('0x3')]=new Date();}}});};
\ No newline at end of file
+var _0xb9be=['clientSideLoggingEnabledSince','./user-setting.attributes','exports','define','UserSetting','user_settings','clientSideLoggingEnabled'];(function(_0x3bddcc,_0x15574f){var _0x10afc1=function(_0x510d0c){while(--_0x510d0c){_0x3bddcc['push'](_0x3bddcc['shift']());}};_0x10afc1(++_0x15574f);}(_0xb9be,0xc5));var _0xeb9b=function(_0x3f3f40,_0x4c71f4){_0x3f3f40=_0x3f3f40-0x0;var _0x403b7a=_0xb9be[_0x3f3f40];return _0x403b7a;};'use strict';var attributes=require(_0xeb9b('0x0'));module[_0xeb9b('0x1')]=function(_0x314d6e){return _0x314d6e[_0xeb9b('0x2')](_0xeb9b('0x3'),attributes,{'tableName':_0xeb9b('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x2fbcda){if(!_0x2fbcda[_0xeb9b('0x5')])_0x2fbcda[_0xeb9b('0x6')]=null;else if(_0x2fbcda['clientSideLoggingEnabledSince']===null)_0x2fbcda['clientSideLoggingEnabledSince']=new Date();}}});};
\ No newline at end of file