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:
8e60e50
)
Add Status::getStatusValue()
author
Gergő Tisza
<gtisza@wikimedia.org>
Mon, 16 May 2016 09:57:53 +0000
(09:57 +0000)
committer
Gergő Tisza
<gtisza@wikimedia.org>
Mon, 16 May 2016 09:57:53 +0000
(09:57 +0000)
Change-Id: Id8c87373b560a462dcbffe74c9e7c4780c3147f3
includes/Status.php
patch
|
blob
|
history
diff --git
a/includes/Status.php
b/includes/Status.php
index
3d2c887
..
f8370e4
100644
(file)
--- a/
includes/Status.php
+++ b/
includes/Status.php
@@
-115,6
+115,14
@@
class Status {
$this->sv->setResult( $ok, $value );
}
+ /**
+ * Returns the wrapped StatusValue object
+ * @return StatusValue
+ */
+ public function getStatusValue() {
+ return $this->sv;
+ }
+
/**
* Returns whether the operation completed and didn't have any error or
* warnings