Fix r53270: drop &returntoquery parameter if empty, and prevent Special:Userlogin...
[lhc/web/wiklou.git] / includes / ExternalStoreHttp.php
index e813958..37fbbe6 100644 (file)
@@ -6,8 +6,8 @@
  */
 class ExternalStoreHttp {
        /* Fetch data from given URL */
-       function fetchFromURL($url) {
-               $ret = file_get_contents( $url );
+       function fetchFromURL( $url ) {
+               $ret = Http::get( $url );
                return $ret;
        }