Index: trunk/phase3/includes/Action.php |
— | — | @@ -59,13 +59,9 @@ |
60 | 60 | |
61 | 61 | if ( $wgActions[$action] === false ) { |
62 | 62 | return false; |
63 | | - } |
64 | | - |
65 | | - elseif ( $wgActions[$action] === true ) { |
| 63 | + } elseif ( $wgActions[$action] === true ) { |
66 | 64 | return ucfirst( $action ) . 'Action'; |
67 | | - } |
68 | | - |
69 | | - else { |
| 65 | + } else { |
70 | 66 | return $wgActions[$action]; |
71 | 67 | } |
72 | 68 | } |