Index: trunk/phase3/includes/objectcache/EhcacheBagOStuff.php |
— | — | @@ -1,5 +1,9 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * Client for the Ehcache RESTful web service - http://ehcache.org/documentation/cache_server.html |
| 6 | + * TODO: Simplify configuration and add to the installer. |
| 7 | + */ |
4 | 8 | class EhcacheBagOStuff extends BagOStuff { |
5 | 9 | var $servers, $cacheName, $connectTimeout, $timeout, $curlOptions, |
6 | 10 | $requestData, $requestDataPos; |
— | — | @@ -205,7 +209,7 @@ |
206 | 210 | |
207 | 211 | protected function doRequest( $curl, $url, $curlOptions = array() ) { |
208 | 212 | if ( array_diff_key( $curlOptions, $this->curlOptions ) ) { |
209 | | - var_dump( array_diff_key( $curlOptions, $this->curlOptions ) ); |
| 213 | + // var_dump( array_diff_key( $curlOptions, $this->curlOptions ) ); |
210 | 214 | throw new MWException( __METHOD__.": to prevent options set in one doRequest() " . |
211 | 215 | "call from affecting subsequent doRequest() calls, only options listed " . |
212 | 216 | "in \$this->curlOptions may be specified in the \$curlOptions parameter." ); |