X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FUnprotectAction.php;h=0757e88ceee9f0670397d8d6497f5771e0e4921c;hb=394b04a0b208ee0f196ad73520c7cf6ed726b557;hp=bc28c8ed1746e152aead08833544ae0e01d03d20;hpb=a15fe7dd93cfcd9510b54b8481b4c3aa891ac380;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/UnprotectAction.php b/includes/actions/UnprotectAction.php index bc28c8ed17..0757e88cee 100644 --- a/includes/actions/UnprotectAction.php +++ b/includes/actions/UnprotectAction.php @@ -37,7 +37,10 @@ class UnprotectAction extends ProtectAction { } public function show() { - $this->page->unprotect(); } + + public function doesWrites() { + return true; + } }