/[Frey]/trunk/lib/App/RoomReservation/Confirmation.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/App/RoomReservation/Confirmation.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1154 by dpavlin, Wed Jul 1 22:25:11 2009 UTC revision 1155 by dpavlin, Thu Jul 2 10:12:54 2009 UTC
# Line 33  sub verify_as_markup { Line 33  sub verify_as_markup {
33                  where                  where
34                          md5(id||email) = ?                          md5(id||email) = ?
35                          and _confirmed is false                          and _confirmed is false
36                            and _canceled is false
37          });          });
38    
39          $sth->execute( $self->token );          $sth->execute( $self->token );
# Line 68  sub cancel_as_markup { Line 69  sub cancel_as_markup {
69          my $sth = $dbh->prepare(qq{          my $sth = $dbh->prepare(qq{
70                  update reservation                  update reservation
71                  set                  set
72                          _confirmed = false,                          _canceled = true,
73                          _seat_number = null                          _seat_number = null
74                  where                  where
75                          md5(id||email) = ?                          md5(id||email) = ?

Legend:
Removed from v.1154  
changed lines
  Added in v.1155

  ViewVC Help
Powered by ViewVC 1.1.26