user preference
This commit is contained in:
@@ -241,6 +241,7 @@ abstract class BaseController extends Controller
|
||||
'reqdel' => ['POST'],
|
||||
'recentactivities' => ['POST'],
|
||||
'playground' => ['POST'],
|
||||
'preferences' => ['POST'],
|
||||
];
|
||||
return $endpoints;
|
||||
}
|
||||
|
||||
@@ -45,6 +45,10 @@ class WrenchApi extends BaseController
|
||||
}
|
||||
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
|
||||
switch ($endpoint) {
|
||||
case 'preferences':
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_PREFERENCES;
|
||||
//preferences // define('WRENCHBOARD_ACCOUNT_PREFERENCES', 11065);
|
||||
break;
|
||||
case 'cachecontacts':
|
||||
log_message('critical', "************************ cachecontacts 0001 ".serialize($in));
|
||||
$this->processContacts( $in );
|
||||
|
||||
Reference in New Issue
Block a user