Refactor contribs to use the newer class extension method (about to do bug 6955)
[lhc/web/wiklou.git] / includes / ExternalStoreHttp.php
index cff6c4d..6eb33b3 100644 (file)
@@ -1,17 +1,15 @@
 <?php
 /**
- *
- *
  * Example class for HTTP accessable external objects
  *
+ * @ingroup ExternalStorage
  */
-
 class ExternalStoreHttp {
        /* Fetch data from given URL */
        function fetchFromURL($url) {
-       ini_set( "allow_url_fopen", true );
-       $ret = file_get_contents( $url );
-       ini_set( "allow_url_fopen", false );
+               ini_set( "allow_url_fopen", true );
+               $ret = file_get_contents( $url );
+               ini_set( "allow_url_fopen", false );
                return $ret;
        }
 
@@ -19,4 +17,3 @@ class ExternalStoreHttp {
         * whatever, for initial ext storage
         */
 }
-