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

@@ -239,7 +239,7 @@ class Application {
}
}
if(!$bSilent)
$this->mailSupermaintainers(true);
$this->mailSupermaintainers("delete");
}
@@ -256,6 +256,7 @@ class Application {
'keywords'=> str_replace(" *** ","",$this->sKeywords) ));
if(query_appdb("UPDATE appFamily SET ".$sUpdate." WHERE appId = ".$this->iAppId))
{
$this->bQueued = false;
// we send an e-mail to intersted people
$this->mailSubmitter();
$this->mailSupermaintainers();