Don't delete account data just yet (wait for automatic deletion)
This commit is contained in:
parent
0c18e53201
commit
0d81b270a8
|
@ -9,9 +9,9 @@ $_ = function() {
|
||||||
if (isset($_POST['explain']))
|
if (isset($_POST['explain']))
|
||||||
$explain = trim($_POST['explain']);
|
$explain = trim($_POST['explain']);
|
||||||
|
|
||||||
instance_http_post('/api/v1/admin/accounts/'.$id.'/action',
|
$output = instance_http_post('/api/v1/admin/accounts/'.$id.'/action',
|
||||||
['type' => 'suspend', 'text' => $explain ]);
|
['type' => 'suspend', 'text' => $explain ]);
|
||||||
$output = instance_http_delete('/api/v1/admin/accounts/'.$id);
|
#$output = instance_http_delete('/api/v1/admin/accounts/'.$id);
|
||||||
return apiresult($output);
|
return apiresult($output);
|
||||||
};
|
};
|
||||||
$_();
|
$_();
|
||||||
|
|
Loading…
Reference in New Issue