Merge "Removed unused method"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 9 Oct 2014 20:09:48 +0000 (20:09 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 9 Oct 2014 20:09:48 +0000 (20:09 +0000)
includes/db/LoadBalancer.php

index 9797f29..186915c 100644 (file)
@@ -315,20 +315,6 @@ class LoadBalancer {
                return $i;
        }
 
-       /**
-        * 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