Remove 'Debug' hook from wfDebug and wfDebugLog
authorErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 17 Oct 2013 22:41:38 +0000 (15:41 -0700)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 17 Oct 2013 22:45:05 +0000 (15:45 -0700)
commit0f33c14576dec0f15fff78e9c5f0dcb959c5ef07
tree584f23d635b52b4b934b773763b9a945cfaccc21
parent18ac912782524af5d85836ba7098adfcc0e16e6e
Remove 'Debug' hook from wfDebug and wfDebugLog

Per the bug report, the 'Debug' hook was triggering an infinite loop when
wgDebugFunctionEntry is enabled.  The Debug hook is used if an extension wants
to stop a debug message from being sent out.  Ideally the wfDebug and related
functions should be as low-level and avoid calling other code as much as
possible to avoid situations like this.

Bug: 55818
Change-Id: I679782489b683503fc624cfea3c7ad72a989b005
RELEASE-NOTES-1.22
docs/hooks.txt
includes/GlobalFunctions.php