dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1fde368
)
w/s
author
Mark A. Hershberger
<mah@users.mediawiki.org>
Thu, 11 Aug 2011 22:35:49 +0000
(22:35 +0000)
committer
Mark A. Hershberger
<mah@users.mediawiki.org>
Thu, 11 Aug 2011 22:35:49 +0000
(22:35 +0000)
includes/Status.php
patch
|
blob
|
history
diff --git
a/includes/Status.php
b/includes/Status.php
index
6bd9456
..
da22033
100644
(file)
--- a/
includes/Status.php
+++ b/
includes/Status.php
@@
-294,11
+294,11
@@
class Status {
}
return $result;
}
}
return $result;
}
-
+
/**
* Returns a list of status messages of the given type, with message and
* params left untouched, like a sane version of getStatusArray
/**
* 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
* @param $type String
*
* @return Array
@@
-308,7
+308,7
@@
class Status {
foreach ( $this->errors as $error ) {
if ( $error['type'] === $type ) {
$result[] = $error;
foreach ( $this->errors as $error ) {
if ( $error['type'] === $type ) {
$result[] = $error;
- }
+ }
}
return $result;
}
}
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.
* destination message, but keep the same parameters as in the original error.
*
* Return true if the replacement was done, false otherwise.