Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / user-setting / user-setting.model.js
index 69d332f..9d332ef 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9e9b=['UserSetting','user_settings','clientSideLoggingEnabledSince','./user-setting.attributes','define'];(function(_0x339dd4,_0x4c1563){var _0x10992f=function(_0x44a770){while(--_0x44a770){_0x339dd4['push'](_0x339dd4['shift']());}};_0x10992f(++_0x4c1563);}(_0x9e9b,0x1a7));var _0xb9e9=function(_0x2af29a,_0x4f44bc){_0x2af29a=_0x2af29a-0x0;var _0x5ef02f=_0x9e9b[_0x2af29a];return _0x5ef02f;};'use strict';var attributes=require(_0xb9e9('0x0'));module['exports']=function(_0x5af29a){return _0x5af29a[_0xb9e9('0x1')](_0xb9e9('0x2'),attributes,{'tableName':_0xb9e9('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x1ccb2d){if(!_0x1ccb2d['clientSideLoggingEnabled'])_0x1ccb2d[_0xb9e9('0x4')]=null;else if(_0x1ccb2d[_0xb9e9('0x4')]===null)_0x1ccb2d['clientSideLoggingEnabledSince']=new Date();}}});};
\ No newline at end of file
+var _0x6b20=['exports','define','user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes'];(function(_0x3b8428,_0xe3c0d){var _0x4127a8=function(_0x2abb1d){while(--_0x2abb1d){_0x3b8428['push'](_0x3b8428['shift']());}};_0x4127a8(++_0xe3c0d);}(_0x6b20,0xd1));var _0x06b2=function(_0x344412,_0x983e88){_0x344412=_0x344412-0x0;var _0x48fc21=_0x6b20[_0x344412];return _0x48fc21;};'use strict';var attributes=require(_0x06b2('0x0'));module[_0x06b2('0x1')]=function(_0x52753b){return _0x52753b[_0x06b2('0x2')]('UserSetting',attributes,{'tableName':_0x06b2('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0xdcad44){if(!_0xdcad44[_0x06b2('0x4')])_0xdcad44['clientSideLoggingEnabledSince']=null;else if(_0xdcad44[_0x06b2('0x5')]===null)_0xdcad44[_0x06b2('0x5')]=new Date();}}});};
\ No newline at end of file