jenkins-bot has submitted this change and it was merged.

Change subject: Make getHex public; this makes PHP shell debugging easier.
......................................................................


Make getHex public; this makes PHP shell debugging easier.

Change-Id: Ib53200f5966f172d48c3432606066bdecd5bff30
---
M includes/Model/UUID.php
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  EBernhardson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/Model/UUID.php b/includes/Model/UUID.php
index 73c4117..33539d2 100644
--- a/includes/Model/UUID.php
+++ b/includes/Model/UUID.php
@@ -237,9 +237,13 @@
        }
 
        /**
+        * Gets the UUID in hexadecimal format.
+        * Should not be used in Flow itself, but is useful in the PHP debug 
shell
+        * in conjunction with LOWER(HEX('...')) in MySQL.
+        *
         * @return string
         */
-       protected function getHex() {
+       public function getHex() {
                if ( $this->hexValue !== null ) {
                        return $this->hexValue;
                } elseif ( $this->binaryValue !== null ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib53200f5966f172d48c3432606066bdecd5bff30
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to