Changes between Initial Version and Version 1 of Ticket #8, comment 2
- Timestamp:
- 03/03/16 23:06:57 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8, comment 2
initial v1 5 5 my $bookmark = shift; 6 6 7 my $sth_insert = $self->dbh->prepare('insert into deleted_bookmarks (id, dtime) values (?, ?)'); 7 my $sth_insert = $self->dbh->prepare( 8 'insert into deleted_bookmarks (id, dtime) values (?, ?)' 9 ); 8 10 $sth_insert->execute($bookmark->id, time); 9 my $sth_delete = $self->dbh->prepare('delete from bookmarks where id = ?'); 11 12 my $sth_delete = $self->dbh->prepare( 13 'delete from bookmarks where id = ?' 14 ); 10 15 $sth_delete->execute($bookmark->id); 11 16 }