Merge "Http::getProxy() method to get proxy configuration"
[lhc/web/wiklou.git] / includes / actions / PurgeAction.php
index 183c3b9..508bbe0 100644 (file)
@@ -68,9 +68,9 @@ class PurgeAction extends FormAction {
                if ( $user->isAllowed( 'purge' ) ) {
                        $this->redirectParams = wfArrayToCgi( array_diff_key(
                                $this->getRequest()->getQueryValues(),
-                               array( 'title' => null, 'action' => null )
+                               [ 'title' => null, 'action' => null ]
                        ) );
-                       if ( $this->onSubmit( array() ) ) {
+                       if ( $this->onSubmit( [] ) ) {
                                $this->onSuccess();
                        }
                } else {