Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/165081
Change subject: Removed unused method
......................................................................
Removed unused method
Change-Id: I8d72798ed5a7048ca8c8f410612bb6645b06f634
---
M includes/db/LoadBalancer.php
1 file changed, 0 insertions(+), 14 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/81/165081/1
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: newchange
Gerrit-Change-Id: I8d72798ed5a7048ca8c8f410612bb6645b06f634
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits