summaryrefslogtreecommitdiff
path: root/includes/actions/PurgeAction.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/actions/PurgeAction.php')
-rw-r--r--includes/actions/PurgeAction.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/actions/PurgeAction.php b/includes/actions/PurgeAction.php
index 00bb961d..ed0bff7b 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 ) );
}
}