Remove 2.1 code that slipped in.

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-10-04 02:42:13 +00:00
parent 7096084a5a
commit 8603907c61
1 changed files with 0 additions and 5 deletions

View File

@ -316,11 +316,6 @@ function wp_insert_link($linkdata) {
$link_rel = ''; $link_rel = '';
$link_rel = apply_filters('pre_link_rel', $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 ) { if ( $update ) {
$wpdb->query("UPDATE $wpdb->links SET link_url='$link_url', $wpdb->query("UPDATE $wpdb->links SET link_url='$link_url',
link_name='$link_name', link_image='$link_image', link_name='$link_name', link_image='$link_image',