X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Factions%2FPurgeAction.php;h=ed0bff7b9732b749a074cc95476e6cf1445d6399;hb=86c94c36f076a3c736d333129b2f311551a02cf3;hp=00bb961df630671729108613ec44ea395cd4033e;hpb=827ff83afe215c5011c2846125b7577ea30ddaae;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/PurgeAction.php b/includes/actions/PurgeAction.php index 00bb961df6..ed0bff7b97 100644 --- a/includes/actions/PurgeAction.php +++ b/includes/actions/PurgeAction.php @@ -71,7 +71,7 @@ class PurgeAction extends FormAction { $this->getRequest()->getQueryValues(), array( 'title' => null, 'action' => null ) ) ); - if( $this->onSubmit( array() ) ) { + if ( $this->onSubmit( array() ) ) { $this->onSuccess(); } } else { @@ -96,6 +96,6 @@ class PurgeAction extends FormAction { } public function onSuccess() { - $this->getOutput()->redirect( $this->getTitle()->getFullUrl( $this->redirectParams ) ); + $this->getOutput()->redirect( $this->getTitle()->getFullURL( $this->redirectParams ) ); } }