From 46225147f92c077586304ffaf0f40c8fe7bda3a2 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 14 Aug 2005 16:28:46 +0000 Subject: [PATCH] removed relic --- includes/ExternalStoreDB.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/includes/ExternalStoreDB.php b/includes/ExternalStoreDB.php index 155e428b8e..3c61726523 100644 --- a/includes/ExternalStoreDB.php +++ b/includes/ExternalStoreDB.php @@ -36,11 +36,7 @@ class ExternalStoreDB { $lb =& $this->getLoadBalancer( $cluster ); return $lb->getConnection( DB_MASTER ); } - - function ExternalStoreDB() { - $this->mLoadBalancer = LoadBalancer::NewFromParams( $wgExternalServers[$cluster] ); - } - + function fetchFromURL($url) { global $wgExternalServers; # @@ -63,7 +59,6 @@ class ExternalStoreDB { $obj = unserialize( $ret ); $ret = $obj->getItem( $itemID ); } - return $ret; } -- 2.20.1