Fix email sending logic when adding/rejecting applications

This commit is contained in:
Jonathan Ernst
2005-02-27 16:45:49 +00:00
committed by WineHQ
parent 7e7d514274
commit 57223914a0
3 changed files with 8 additions and 5 deletions

View File

@@ -242,7 +242,8 @@ class Version {
}
}
if(!$bSilent)
$this->mailMaintainers(true);
$this->mailMaintainers("delete");
$this->mailSubmitter(true);
}
@@ -258,6 +259,7 @@ class Version {
$sUpdate = compile_update_string(array('queued' => "false"));
if(query_appdb("UPDATE appVersion SET ".$sUpdate." WHERE versionId = ".$this->iVersionId))
{
$this->bQueued = false;
// we send an e-mail to intersted people
$this->mailSubmitter();
$this->mailMaintainers();