Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once 'init.php';
- use WHMCS\User\Client;
- $clients = Client::all();
- foreach($clients as $client){
- $command = 'DeleteClient';
- $postData = array(
- 'clientid' => $client->id,
- 'deleteusers' => true,
- 'deletetransactions' => true,
- );
- $results = localAPI($command, $postData);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement