MarkTraceur has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/190481

Change subject: Fix file deletion
......................................................................

Fix file deletion

StatusValue never had getOK, it's isOK.

Change-Id: I8f5a21eb8d795e5e3f5a58f2384ad0dcbad749a2
---
M includes/Status.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/81/190481/1

diff --git a/includes/Status.php b/includes/Status.php
index 61a0047..cd10258 100644
--- a/includes/Status.php
+++ b/includes/Status.php
@@ -437,7 +437,7 @@
         */
        function __get( $name ) {
                if ( $name === 'ok' ) {
-                       return $this->sv->getOK();
+                       return $this->sv->isOK();
                } elseif ( $name === 'errors' ) {
                        return $this->sv->getErrors();
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/190481
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8f5a21eb8d795e5e3f5a58f2384ad0dcbad749a2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: MarkTraceur <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to