Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / user-setting / user-setting.model.js
index 571d1db..c46d9c4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb9be=['clientSideLoggingEnabledSince','./user-setting.attributes','exports','define','UserSetting','user_settings','clientSideLoggingEnabled'];(function(_0x2279a4,_0x154e58){var _0x27f559=function(_0x1d6710){while(--_0x1d6710){_0x2279a4['push'](_0x2279a4['shift']());}};_0x27f559(++_0x154e58);}(_0xb9be,0xc5));var _0xeb9b=function(_0x199572,_0x33e667){_0x199572=_0x199572-0x0;var _0x13cfa3=_0xb9be[_0x199572];return _0x13cfa3;};'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
+var _0x4522=['define','UserSetting','clientSideLoggingEnabled','clientSideLoggingEnabledSince'];(function(_0xd79d33,_0x34aa04){var _0x49e42a=function(_0x46dd07){while(--_0x46dd07){_0xd79d33['push'](_0xd79d33['shift']());}};_0x49e42a(++_0x34aa04);}(_0x4522,0x1a0));var _0x2452=function(_0x454214,_0x4380c5){_0x454214=_0x454214-0x0;var _0x269483=_0x4522[_0x454214];return _0x269483;};'use strict';var attributes=require('./user-setting.attributes');module['exports']=function(_0x46400f){return _0x46400f[_0x2452('0x0')](_0x2452('0x1'),attributes,{'tableName':'user_settings','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x229028){if(!_0x229028[_0x2452('0x2')])_0x229028[_0x2452('0x3')]=null;else if(_0x229028[_0x2452('0x3')]===null)_0x229028[_0x2452('0x3')]=new Date();}}});};
\ No newline at end of file