From: Aaron Schulz Date: Mon, 6 Oct 2014 19:54:07 +0000 (-0700) Subject: Removed unused method X-Git-Tag: 1.31.0-rc.0~13646^2 X-Git-Url: http://git.cyclocoop.org/%27%20.generer_url_ecrire%28_request%28%27exec%27%29%2C%27cmd=switch&outil=rss_couteau_suisse%27%29.%27?a=commitdiff_plain;h=5f1f698ad0652b08fe2a7afd91de80d5f30dd39f;p=lhc%2Fweb%2Fwiklou.git Removed unused method Change-Id: I8d72798ed5a7048ca8c8f410612bb6645b06f634 --- diff --git a/includes/db/LoadBalancer.php b/includes/db/LoadBalancer.php index 9797f298fa..186915c746 100644 --- a/includes/db/LoadBalancer.php +++ b/includes/db/LoadBalancer.php @@ -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