Changes between Initial Version and Version 1 of Ticket #8, comment 2


Ignore:
Timestamp:
03/03/16 23:06:57 (9 years ago)
Author:
peter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8, comment 2

    initial v1  
    55    my $bookmark = shift; 
    66 
    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    ); 
    810    $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    ); 
    1015    $sth_delete->execute($bookmark->id); 
    1116}