mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 03:42:18 +09:00
Remove triggers after debug output
This commit is contained in:
parent
231e7100a1
commit
c52eb1600e
2 changed files with 0 additions and 11 deletions
|
|
@ -431,14 +431,6 @@ class Context
|
|||
*/
|
||||
public static function close()
|
||||
{
|
||||
// Flush the slow query/trigger/widget log.
|
||||
static $flushed = false;
|
||||
if (!$flushed && config('debug.enabled'))
|
||||
{
|
||||
ModuleHandler::triggerCall('common.flushDebugInfo', 'after', new stdClass);
|
||||
$flushed = true;
|
||||
}
|
||||
|
||||
// Check session status and close it if open.
|
||||
if (self::checkSessionStatus())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -126,9 +126,6 @@ class DisplayHandler extends Handler
|
|||
$debug = $this->getDebugInfo($output);
|
||||
print $output;
|
||||
print $debug;
|
||||
|
||||
// Flush the slow query/trigger/widget log.
|
||||
ModuleHandler::triggerCall('common.flushDebugInfo', 'after', new stdClass);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue