]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/ExternalStoreHttp.php
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / includes / ExternalStoreHttp.php
diff --git a/includes/ExternalStoreHttp.php b/includes/ExternalStoreHttp.php
deleted file mode 100644 (file)
index 6eb33b3..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?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 );
-               return $ret;
-       }
-
-       /* XXX: may require other methods, for store, delete,
-        * whatever, for initial ext storage
-        */
-}