jenkins-bot has submitted this change and it was merged.
Change subject: AutoLoader: Remove "Class ... not found" debug message
......................................................................
AutoLoader: Remove "Class ... not found" debug message
Per existing FIXME comment: "This is not very polite. Assume we
do not manage the class."
Reverts the remaining portion of r44296 / 2f584f68a95a while
clarifying the "Give up" comment.
Change-Id: I4471f9376cae6b3c3e8df99e960770863ebf37ca
---
M includes/AutoLoader.php
1 file changed, 2 insertions(+), 7 deletions(-)
Approvals:
Parent5446: Looks good to me, approved
Adamw: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php
index 9d764e1..4fbf408 100644
--- a/includes/AutoLoader.php
+++ b/includes/AutoLoader.php
@@ -1221,16 +1221,11 @@
}
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";
--
To view, visit https://gerrit.wikimedia.org/r/120024
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4471f9376cae6b3c3e8df99e960770863ebf37ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: PleaseStand <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: IAlex <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits