From 8603907c61daf37eaf810c7ce336833dd2ef8d95 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 4 Oct 2006 02:42:13 +0000 Subject: [PATCH] Remove 2.1 code that slipped in. git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4285 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-db.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wp-admin/admin-db.php b/wp-admin/admin-db.php index 3f1fa8e376..9288e26b51 100644 --- a/wp-admin/admin-db.php +++ b/wp-admin/admin-db.php @@ -316,11 +316,6 @@ function wp_insert_link($linkdata) { $link_rel = ''; $link_rel = apply_filters('pre_link_rel', $link_rel); - // Make sure we set a valid category - if (0 == count($link_category) || !is_array($link_category)) { - $link_category = array(get_option('default_link_category')); - } - if ( $update ) { $wpdb->query("UPDATE $wpdb->links SET link_url='$link_url', link_name='$link_name', link_image='$link_image',