Set preferences
This commit is contained in:
@@ -261,6 +261,7 @@ abstract class BaseController extends Controller
|
||||
'recentactivities' => ['POST'],
|
||||
'playground' => ['POST'],
|
||||
'preferences' => ['POST'],
|
||||
'setpreferences' => ['POST']
|
||||
];
|
||||
return $endpoints;
|
||||
}
|
||||
|
||||
@@ -55,6 +55,9 @@ class WrenchApi extends BaseController
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_PREFERENCES;
|
||||
//preferences // define('WRENCHBOARD_ACCOUNT_PREFERENCES', 11065);
|
||||
break;
|
||||
case 'setpreferences':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_UPDATE_PREFS;
|
||||
break;
|
||||
case 'cachecontacts':
|
||||
log_message('critical', "************************ cachecontacts 0001 ".serialize($in));
|
||||
$this->processContacts( $in );
|
||||
|
||||
Reference in New Issue
Block a user