From: Mark A. Hershberger Date: Thu, 11 Aug 2011 22:35:49 +0000 (+0000) Subject: w/s X-Git-Tag: 1.31.0-rc.0~28336 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;ds=inline;h=c5a6747c1acd9f0a2c22e9ba695f91cfc76ee5d5;p=lhc%2Fweb%2Fwiklou.git w/s --- diff --git a/includes/Status.php b/includes/Status.php index 6bd9456404..da22033c0a 100644 --- a/includes/Status.php +++ b/includes/Status.php @@ -294,11 +294,11 @@ class Status { } return $result; } - + /** * Returns a list of status messages of the given type, with message and * params left untouched, like a sane version of getStatusArray - * + * * @param $type String * * @return Array @@ -308,7 +308,7 @@ class Status { foreach ( $this->errors as $error ) { if ( $error['type'] === $type ) { $result[] = $error; - } + } } return $result; } @@ -329,7 +329,7 @@ class Status { } /** - * If the specified source message exists, replace it with the specified + * If the specified source message exists, replace it with the specified * destination message, but keep the same parameters as in the original error. * * Return true if the replacement was done, false otherwise.