Index: trunk/phase3/CREDITS |
— | — | @@ -91,6 +91,7 @@ |
92 | 92 | * Carlin |
93 | 93 | * Carsten Nielsen |
94 | 94 | * Conrad Irwin |
| 95 | +* cryptocoryne |
95 | 96 | * Dan Barrett |
96 | 97 | * Dan Collins |
97 | 98 | * Dan Nessett |
Index: trunk/phase3/includes/actions/PurgeAction.php |
— | — | @@ -52,8 +52,7 @@ |
53 | 53 | } |
54 | 54 | |
55 | 55 | public function onSubmit( $data ) { |
56 | | - $this->page->doPurge(); |
57 | | - return true; |
| 56 | + return $this->page->doPurge(); |
58 | 57 | } |
59 | 58 | |
60 | 59 | /** |
— | — | @@ -71,8 +70,9 @@ |
72 | 71 | $this->getRequest()->getQueryValues(), |
73 | 72 | array( 'title' => null, 'action' => null ) |
74 | 73 | ) ); |
75 | | - $this->onSubmit( array() ); |
76 | | - $this->onSuccess(); |
| 74 | + if( $this->onSubmit( array() ) ) { |
| 75 | + $this->onSuccess(); |
| 76 | + } |
77 | 77 | } else { |
78 | 78 | $this->redirectParams = $this->getRequest()->getVal( 'redirectparams', '' ); |
79 | 79 | $form = $this->getForm(); |
Index: trunk/phase3/includes/WikiPage.php |
— | — | @@ -755,6 +755,7 @@ |
756 | 756 | |
757 | 757 | MessageCache::singleton()->replace( $this->mTitle->getDBkey(), $text ); |
758 | 758 | } |
| 759 | + return true; |
759 | 760 | } |
760 | 761 | |
761 | 762 | /** |