Use triggers for all notifications on Builds table changes

This commit is contained in:
Eelco Dolstra
2015-07-08 12:05:32 +02:00
parent 89fb723ace
commit bbee81efae
4 changed files with 24 additions and 23 deletions

View File

@ -234,8 +234,6 @@ sub checkJobsetWrapped {
print STDERR " created new eval ", $ev->id, "\n";
$ev->builds->update({iscurrent => 1});
$db->storage->dbh->do("notify builds_added");
} else {
print STDERR " created cached eval ", $ev->id, "\n";
$prevEval->builds->update({iscurrent => 1}) if defined $prevEval;