Fix r53270: drop &returntoquery parameter if empty, and prevent Special:Userlogin...
[lhc/web/wiklou.git] / includes / ExternalStoreHttp.php
1 <?php
2 /**
3 * Example class for HTTP accessable external objects
4 *
5 * @ingroup ExternalStorage
6 */
7 class ExternalStoreHttp {
8 /* Fetch data from given URL */
9 function fetchFromURL( $url ) {
10 $ret = Http::get( $url );
11 return $ret;
12 }
13
14 /* XXX: may require other methods, for store, delete,
15 * whatever, for initial ext storage
16 */
17 }