Remove deubg

git-svn-id: https://develop.svn.wordpress.org/trunk@10906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-04-10 21:18:58 +00:00
parent f7df1f116e
commit 86b731ec7a

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;