Make CodeSniffer checks pass on includes/specialpages/
[lhc/web/wiklou.git] / includes / AutoLoader.php
index 9d764e1..0873d87 100644 (file)
@@ -953,6 +953,7 @@ $wgAutoloadLocalClasses = array(
        'IPBlockForm' => 'includes/specials/SpecialBlock.php',
        'LinkSearchPage' => 'includes/specials/SpecialLinkSearch.php',
        'ListredirectsPage' => 'includes/specials/SpecialListredirects.php',
+       'ListDuplicatedFilesPage' => 'includes/specials/SpecialListDuplicatedFiles.php',
        'LoginForm' => 'includes/specials/SpecialUserlogin.php',
        'LonelyPagesPage' => 'includes/specials/SpecialLonelypages.php',
        'LongPagesPage' => 'includes/specials/SpecialLongpages.php',
@@ -1221,16 +1222,11 @@ class AutoLoader {
                }
 
                if ( !$filename ) {
-                       if ( function_exists( 'wfDebugLog' ) ) {
-                               # FIXME: This is not very polite.  Assume we do not manage the class.
-                               wfDebugLog( 'autoloader', "Class {$className} not found; skipped loading" );
-                       }
-
-                       # Give up
+                       // Class not found; let the next autoloader try to find it
                        return;
                }
 
-               # Make an absolute path, this improves performance by avoiding some stat calls
+               // Make an absolute path, this improves performance by avoiding some stat calls
                if ( substr( $filename, 0, 1 ) != '/' && substr( $filename, 1, 1 ) != ':' ) {
                        global $IP;
                        $filename = "$IP/$filename";