Removed unused method
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 6 Oct 2014 19:54:07 +0000 (12:54 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 6 Oct 2014 19:54:07 +0000 (12:54 -0700)
Change-Id: I8d72798ed5a7048ca8c8f410612bb6645b06f634

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