Merge "Serve 400 instead of 500 when invalid thumbnail parameters are requested"
[lhc/web/wiklou.git] / includes / actions / PurgeAction.php
index b2002ff..942b731 100644 (file)
@@ -42,7 +42,7 @@ class PurgeAction extends FormAction {
        }
 
        public function onSubmit( $data ) {
-               return $this->page->doPurge();
+               return $this->page->doPurge( WikiPage::PURGE_ALL );
        }
 
        public function show() {