(bug 14670) Return false if AutoLoader can't find a class.
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 29 Jun 2008 03:42:37 +0000 (03:42 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 29 Jun 2008 03:42:37 +0000 (03:42 +0000)
includes/AutoLoader.php

index c66ef59..ba31ce6 100644 (file)
@@ -484,7 +484,7 @@ class AutoLoader {
                        if ( !$filename ) {
                                # Give up
                                wfProfileOut( __METHOD__ );
-                               return;
+                               return false;
                        }
                }