Make WordPress Core

Changeset 5798


Ignore:
Timestamp:
07/13/2007 06:30:06 PM (17 years ago)
Author:
ryan
Message:

Don't return before doing actions. Props nbachiyski. fixes #4629 for 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-admin/admin-db.php

    r5714 r5798  
    420420
    421421    $wpdb->query("DELETE FROM $wpdb->link2cat WHERE link_id = '$link_id'");
    422     return $wpdb->query("DELETE FROM $wpdb->links WHERE link_id = '$link_id'");
     422    $wpdb->query("DELETE FROM $wpdb->links WHERE link_id = '$link_id'");
    423423   
    424424    do_action('deleted_link', $link_id);
     425
     426    return true;
    425427}
    426428
Note: See TracChangeset for help on using the changeset viewer.