Remove triggers after debug output

This commit is contained in:
Kijin Sung 2016-02-16 13:03:17 +09:00
parent 231e7100a1
commit c52eb1600e
2 changed files with 0 additions and 11 deletions

View file

@ -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())
{

View file

@ -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);
}
/**