From: Sam Reed Date: Wed, 22 Jun 2011 21:38:02 +0000 (+0000) Subject: Fix code style X-Git-Tag: 1.31.0-rc.0~29350 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=commitdiff_plain;h=224218c5e81bbd2b47c9720403491d8e45e2647f;p=lhc%2Fweb%2Fwiklou.git Fix code style --- diff --git a/includes/Action.php b/includes/Action.php index 5fbb5d1aae..de60084428 100644 --- a/includes/Action.php +++ b/includes/Action.php @@ -59,13 +59,9 @@ abstract class Action { if ( $wgActions[$action] === false ) { return false; - } - - elseif ( $wgActions[$action] === true ) { + } elseif ( $wgActions[$action] === true ) { return ucfirst( $action ) . 'Action'; - } - - else { + } else { return $wgActions[$action]; } }