diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
commit | d9022f63880ce039446fba8364f68e656b7bf4cb (patch) | |
tree | 16b40fbf17bf7c9ee6f4ead25b16dd192378050a /includes/Status.php | |
parent | 27cf83d177256813e2e802241085fce5dd0f3fb9 (diff) |
Update to MediaWiki 1.19.0
Diffstat (limited to 'includes/Status.php')
-rw-r--r-- | includes/Status.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/Status.php b/includes/Status.php index 6bd94564..e9f3fb91 100644 --- a/includes/Status.php +++ b/includes/Status.php @@ -51,7 +51,7 @@ class Status { /** * Change operation result * - * @param $ok Boolean: whether to operation completed + * @param $ok Boolean: whether the operation completed * @param $value Mixed */ function setResult( $ok, $value = null ) { @@ -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. |