From a54a6796e21eb42fe47609ebff931fc4fcfdf60b Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 29 Jun 2008 03:42:37 +0000 Subject: [PATCH] (bug 14670) Return false if AutoLoader can't find a class. --- includes/AutoLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index c66ef5976c..ba31ce652f 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -484,7 +484,7 @@ class AutoLoader { if ( !$filename ) { # Give up wfProfileOut( __METHOD__ ); - return; + return false; } } -- 2.20.1