Message info
 
To:wp-svn@lists.automattic.com From:m@wordpress.org Subject:[wp-svn] [20853] trunk/wp-admin/includes/class-wp-plugins-list-table.php: Remove debug cruft from [20852]. Date:Wed, 23 May 2012 18:00:09 +0000 (UTC)
 

Revision
20853
Author
nacin
Date
2012-05-23 18:00:09 +0000 (Wed, 23 May 2012)

Log Message

Remove debug cruft from [20852].

Modified Paths

Diff

Modified: trunk/wp-admin/includes/class-wp-plugins-list-table.php (20852 => 20853)


--- trunk/wp-admin/includes/class-wp-plugins-list-table.php	2012-05-23 17:56:42 UTC (rev 20852)
+++ trunk/wp-admin/includes/class-wp-plugins-list-table.php	2012-05-23 18:00:09 UTC (rev 20853)
@@ -69,11 +69,6 @@
 				$current = get_site_transient( 'update_plugins' );
 				foreach ( (array) $plugins['all'] as $plugin_file => $plugin_data ) {
 					if ( isset( $current->response[ $plugin_file ] ) ) {
-						ob_start();
-						var_dump( $current->response[ $plugin_file ] );
-						error_log( $plugin_file . ': ' . ob_get_clean() );
-					}
-					if ( ! empty( $current->response[ $plugin_file ] ) ) {
 						$plugins['all'][ $plugin_file ]['update'] = true;
 						$plugins['upgrade'][ $plugin_file ] = $plugins['all'][ $plugin_file ];
 					}