1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-25 05:22:59 +00:00

Bugfix: Fix watchlist page-edit module check

This commit is contained in:
Starbeamrainbowlabs 2019-12-23 20:53:08 +00:00
parent 7548c1e7ee
commit 543fcc171f
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -215,7 +215,7 @@ register_module([
exit(page_renderer::render_main("Watchlist update successful", "<p>$message</p>"));
});
if(!module_exists("edit")) {
if(!module_exists("page-edit")) {
error_log("[module/feature-watchlist] Note: Without the page-edit module, the feature-watchlist module doesn't make much sense. If you don't want anonymous people to edit your wiki, try the 'anonedits' setting.");
return false;
}