Remove unneeded set_id in note deletion handler

This commit is contained in:
Allen Snook 2018-10-19 16:24:03 -07:00
parent a46d83aea3
commit 6a25fb2249
1 changed files with 0 additions and 1 deletions

View File

@ -80,7 +80,6 @@ class WC_Admin_Notes {
$note_ids = $data_store->get_notes_with_name( $name );
foreach ( (array) $note_ids as $note_id ) {
$note = new WC_Admin_Note( $note_id );
$note->set_id( $note_id );
$note->delete();
}
}