Page 1 of 1

API_DOCS: Reload functions

Posted: Thu Feb 08, 2007 12:57 am
by JeffM
I have added the following to the API.

Code: Select all

BZF_API void bz_reloadLocalBans();
Forces a purge and reload of the local ban file.

Code: Select all

BZF_API void bz_reloadMasterBans();
Forces a purge and reload of the remote masterban lists. Note unlike the old /masterban reload this function will reload the ban list URLs in the background.

Code: Select all

BZF_API void bz_reloadGroups();
Forces a reload of the group permision files.

Code: Select all

BZF_API void bz_reloadUsers();
Forces a reload of the local user database.

Code: Select all

BZF_API void bz_reloadHelp();
Forces a reload of the local help files.

These changes are in 2.0.x and 2.1.x CVS as of now.

I've also made /masterban reload work in the background, so everyone won't go NR.