From c95655549fa927ae693d24e879f12866f146d72d Mon Sep 17 00:00:00 2001 From: scribu Date: Tue, 8 May 2012 18:35:01 +0000 Subject: [PATCH] remove FirePHP integration and scbDebug class git-svn-id: http://plugins.svn.wordpress.org/scb-framework/trunk@541583 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- scb-debug.php | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/scb-debug.php b/scb-debug.php index e2a50fb..7b56319 100644 --- a/scb-debug.php +++ b/scb-debug.php @@ -42,39 +42,6 @@ function debug_filters( $tag = false ) { echo ''; } - -class scbDebug { - private $args; - - function __construct($args) { - $this->args = $args; - - register_shutdown_function(array($this, '_delayed')); - } - - function _delayed() { - debug_a( $this->args ); - } -} - - -// Integrate with FirePHP -function fb_debug() { - $args = func_get_args(); - - if ( class_exists('FirePHP') ) { - $firephp = FirePHP::getInstance(true); - $firephp->group('debug'); - foreach ( $args as $arg ) - $firephp->log($arg); - $firephp->groupEnd(); - - return; - } - - new scbDebug($args); -} - function debug() { $args = func_get_args();