Skip to content

Commit

Permalink
remove smart match
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Oct 3, 2013
1 parent 7122d41 commit 5ddd908
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions lib/Ukigumo/Server/Command/Report.pm
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,12 @@ sub insert {
});
};

do {
c->db->update(branch => {
last_report_id => $report_id,
}, {
branch_id => $branch_id,
}) ~~ [0,1] or die;
};
c->db->update(branch => {
last_report_id => $report_id,
}, {
branch_id => $branch_id,
});

$txn->commit;

return $report_id;
Expand Down

0 comments on commit 5ddd908

Please sign in to comment.