Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / user-setting / user-setting.model.js
index 34decfc..c46d9c4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x407f=['UserSetting','user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince','define'];(function(_0xe74ab3,_0x3c339f){var _0xf9d75a=function(_0x2eb551){while(--_0x2eb551){_0xe74ab3['push'](_0xe74ab3['shift']());}};_0xf9d75a(++_0x3c339f);}(_0x407f,0xc2));var _0xf407=function(_0x2690a9,_0x49ec81){_0x2690a9=_0x2690a9-0x0;var _0xff234e=_0x407f[_0x2690a9];return _0xff234e;};'use strict';var attributes=require('./user-setting.attributes');module['exports']=function(_0x5e211d){return _0x5e211d[_0xf407('0x0')](_0xf407('0x1'),attributes,{'tableName':_0xf407('0x2'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x1ec297){if(!_0x1ec297[_0xf407('0x3')])_0x1ec297[_0xf407('0x4')]=null;else if(_0x1ec297[_0xf407('0x4')]===null)_0x1ec297[_0xf407('0x4')]=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