Manual:purgeExpiredUserrights.php

Other languages:
MediaWiki version:
1.31

DetailsEdit

purgeExpiredUserrights.php is a maintenance script to remove user right assignments which have expired (ug_expiry is before current time) from the user_groups table and add them to the user_former_groups table.

Options/ArgumentsEdit

This script does not take any options/arguments.

UsageEdit

php maintenance/purgeExpiredUserrights.php


Terminal
$ php maintenance/purgeExpiredUserrights.php

Purging expired user rights...
9 rows purged.

See alsoEdit