User:Eisheeta/Sandbox/maintenance/emptyUserGroup.php

From MediaWiki.org
Jump to navigation Jump to search
This page contains changes which are not marked for translation.

Details[edit]

emptyUserGroup.php file is a maintenance script that removes all users from a given group.


The only parameter, in addition to standard ones, is name of the group to be removed. See below section for example:

Usage[edit]

php emptyUserGroup.php "group name"

If name of the group contains whitespace, it should be enclosed in double quotes ("), as shown in example.

See also[edit]