The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to delete accounts without charters?
Author Message
Russian
Journeyman
*

Posts: 75
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 0



Post: #5
RE: How to delete accounts without charters?
(01-10-2015 06:03 AM)darksun84 Wrote:  ...

Thanks you, i was some edited, but function some broken

[Image: 16522378585807002370.png]

Function find accounts without charters, but second loop have some error.

Code:
[FUNCTION DELETE_CLEAR_ACCOUNTS]
FOR 0 <EVAL <SERV.ACCOUNTS> - 1>
IF (<SERV.ACCOUNT.<dlocal._for>.chars> == 0) && (<ISEMPTY <SERV.ACCOUNT.<dlocal._for>.DTAG0.EMAIL>>)
SERV.LOG Preparing <SERV.ACCOUNT.<dlocal._for>.name> for deletion...
args .= <SERV.ACCOUNT.<dlocal._for>.name>,
ENDIF
ENDFOR

FOR 0 <EVAL <argv> - 1>
SERV.log Deleting ACCOUNT <argv[<dlocal._for>]>
ACCOUNT <argv[<dlocal._for>]> delete
ENDFOR
SERV.ACCOUNT UPDATE

Than you!
I was got account list, who have not charters and delete them.
(This post was last modified: 01-10-2015 06:30 PM by Russian.)
01-10-2015 06:16 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to delete accounts without charters? - Russian - 01-10-2015 06:16 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)