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

Change subject: Removed unused method
......................................................................


Removed unused method

Change-Id: I8d72798ed5a7048ca8c8f410612bb6645b06f634
---
M includes/db/LoadBalancer.php
1 file changed, 0 insertions(+), 14 deletions(-)

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



diff --git a/includes/db/LoadBalancer.php b/includes/db/LoadBalancer.php
index 9797f29..186915c 100644
--- a/includes/db/LoadBalancer.php
+++ b/includes/db/LoadBalancer.php
@@ -316,20 +316,6 @@
        }
 
        /**
-        * Wait for a specified number of microseconds, and return the period 
waited
-        * @param int $t
-        * @return int
-        */
-       function sleep( $t ) {
-               wfProfileIn( __METHOD__ );
-               wfDebug( __METHOD__ . ": waiting $t us\n" );
-               usleep( $t );
-               wfProfileOut( __METHOD__ );
-
-               return $t;
-       }
-
-       /**
         * Set the master wait position
         * If a DB_SLAVE connection has been opened already, waits
         * Otherwise sets a variable telling it to wait if such a connection is 
opened

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8d72798ed5a7048ca8c8f410612bb6645b06f634
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to