Remove deubg

git-svn-id: http://svn.automattic.com/wordpress/trunk@10906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-04-10 21:18:58 +00:00
parent 6f431038f2
commit 8362ffda5c

View File

@ -20,8 +20,6 @@
*/
function category_exists($cat_name, $parent = 0) {
$id = is_term($cat_name, 'category', $parent);
global $wpdb;
error_log(var_export($wpdb->queries, true));
if ( is_array($id) )
$id = $id['term_id'];
return $id;