From 5f1f698ad0652b08fe2a7afd91de80d5f30dd39f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 6 Oct 2014 12:54:07 -0700 Subject: [PATCH] Removed unused method Change-Id: I8d72798ed5a7048ca8c8f410612bb6645b06f634 --- includes/db/LoadBalancer.php | 14 -------------- 1 file changed, 14 deletions(-) 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 -- 2.20.1