Ignore:
Timestamp:
04/15/09 03:51:26 (15 years ago)
Author:
nanardon
Message:
  • use new commit() and rollback()
  • add add standalone create_poll function
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Vote/Controller/Newpoll.pm

    r186 r198  
    2424sub begin : Private { 
    2525    my ( $self, $c ) = @_; 
    26     $c->model('Vote')->db->rollback; 
    27     $c->model('Vote')->clean_old_poll_request and $c->model('Vote')->db->commit; 
     26    $c->model('Vote')->rollback; 
     27    $c->model('Vote')->clean_old_poll_request and $c->model('Vote')->commit; 
    2828} 
    2929 
Note: See TracChangeset for help on using the changeset viewer.