Various whitespace fixes
authorThomas Bleher <tbleher@users.mediawiki.org>
Tue, 29 Jan 2008 11:10:33 +0000 (11:10 +0000)
committerThomas Bleher <tbleher@users.mediawiki.org>
Tue, 29 Jan 2008 11:10:33 +0000 (11:10 +0000)
includes/ExternalStoreHttp.php
includes/SpecialWhatlinkshere.php

index cff6c4d..ef907df 100644 (file)
@@ -9,9 +9,9 @@
 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;
        }
 
index b0ae19c..5af19a3 100644 (file)
@@ -155,7 +155,7 @@ class WhatLinksHerePage {
                $options['offset'] = $this->request->getVal( 'offset' );
                /* Offset must be an integral. */
                if ( !strlen( $options['offset'] ) || !preg_match( '/^[0-9]+$/', $options['offset'] ) )
-               $options['offset'] = '';
+                       $options['offset'] = '';
                $options['target'] = $this->target->getPrefixedText();
 
                // Read the rows into an array and remove duplicates