Looking for function to get user issues
Posted: 07 Mar 2022, 10:12
Hi, I'm a developer and currently I'm working on cmd to delete user account and issues.
Currently, to delete user account im using function and it working fine!
But I have problem with delete user issues, I have found function but I can't find function to get array of bugId's owned by user to use mentioned bug_delete($bugId) function.
My questions:
1. is there a function to delete all data related to user (account, issues, etc.) at once?
2. is there a function to get an array of issue ids bound to user id?
Currently, to delete user account im using
Code: Select all
user_delete($userId)But I have problem with delete user issues, I have found
Code: Select all
bug_delete($bugId)My questions:
1. is there a function to delete all data related to user (account, issues, etc.) at once?
2. is there a function to get an array of issue ids bound to user id?
Code: Select all
/**
* Mantis Version
*/
define( 'MANTIS_VERSION', '2.17.1' );
define( 'FILTER_VERSION', 'v9' );