Add delete calls

This commit is contained in:
Olu Amey
2022-12-31 14:31:18 -05:00
parent 88821c96e3
commit 074919e973
2 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ define('WRENCHBOARD_USER_SENDJOBINT', 11052);
define('WRENCHBOARD_ACCOUNT_WALLETS', 11060);
define('WRENCHBOARD_USER_DELETEACC', 11990);
define('WRENCHBOARD_ACCOUNT_END', 11999);
//**************************************************************
define('WRENCHBOARD_JOB_CREATEJOB',13010 );
+1 -6
View File
@@ -108,12 +108,7 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
$in["loc"] = $_SERVER["REMOTE_ADDR"];
switch ($endpoint) {
case 'disableaccount':
$local_out = [
'result'=>'100',
'status'=> '3',
'msg'=> 'This is from backend'
];
// $call_backend = false;
$in['action'] = WRENCHBOARD_USER_DELETEACC;
break;
case 'replyinterestmessage':
$in["action"] = WRENCHBOARD_JOB_REPLY_QUESTION;