From: Tim Starling Date: Sun, 14 Aug 2005 16:28:46 +0000 (+0000) Subject: removed relic X-Git-Tag: 1.6.0~1976 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=46225147f92c077586304ffaf0f40c8fe7bda3a2;p=lhc%2Fweb%2Fwiklou.git removed relic --- 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; }