delete_id
class delete_id extends command
Properties
protected user | $user | from command | |
protected driver_interface | $db | ||
protected language | $language | ||
protected log_interface | $log | ||
protected user_loader | $user_loader | ||
protected string | $bots_table | ||
protected string | $user_group_table | ||
protected string | $users_table | ||
protected string | $phpbb_root_path | ||
protected string | $php_ext |
Methods
__construct(driver_interface $db, language $language, log_interface $log, user $user, user_loader $user_loader, string $bots_table, string $user_group_table, string $users_table, string $phpbb_root_path, string $php_ext)
Construct method
ProgressBar
create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)
Create a styled progress bar
from
command
void
configure()
Sets the command name and description
int
execute(InputInterface $input, OutputInterface $output)
Executes the command user:delete_ids
void
interact(InputInterface $input, OutputInterface $output)
Interacts with the user.
void
delete_bot_user(array $user_row)
Deletes a bot user
Details
at line 72
__construct(driver_interface $db, language $language, log_interface $log, user $user, user_loader $user_loader, string $bots_table, string $user_group_table, string $users_table, string $phpbb_root_path, string $php_ext)
Construct method
in
command at line 45
ProgressBar
create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)
Create a styled progress bar
at line 94
protected void
configure()
Sets the command name and description
at line 124
protected int
execute(InputInterface $input, OutputInterface $output)
Executes the command user:delete_ids
Deletes a list of user ids from the database. An option to delete the users' posts is available, by default posts will be retained.
at line 192
protected void
interact(InputInterface $input, OutputInterface $output)
Interacts with the user.
Confirm they really want to delete the account...last chance!
at line 217
protected void
delete_bot_user(array $user_row)
Deletes a bot user