Add the ability for user to monitor changes to applications

This commit is contained in:
Tony Lambregts
2005-09-30 01:55:51 +00:00
committed by WineHQ
parent a66ae25f38
commit 2311d4d572
10 changed files with 266 additions and 30 deletions

View File

@@ -70,7 +70,7 @@ class Url {
{
$this->iUrlId = mysql_insert_id();
$this->url($this->iUrlId,$this->bQueued);
$this->mailMaintainers();
$this->SendNotificationMail();
return true;
}
else
@@ -91,7 +91,7 @@ class Url {
if($hResult = query_appdb($sQuery))
{
if(!$bSilent)
$this->mailMaintainers(true);
$this->SendNotificationMail(true);
}
if($this->iSubmitterId)
{
@@ -114,7 +114,7 @@ class Url {
{
// we send an e-mail to intersted people
$this->mailSubmitter();
$this->mailMaintainers();
$this->SendNotificationMail();
// the url has been unqueued
addmsg("The url has been unqueued.", "green");
}
@@ -170,7 +170,7 @@ class Url {
$this->iAppId = $iAppId;
}
if($sWhatChanged)
$this->mailMaintainers("edit",$sWhatChanged);
$this->SendNotificationMail("edit",$sWhatChanged);
return true;
}
@@ -197,7 +197,7 @@ class Url {
}
function mailMaintainers($bDeleted=false)
function SendNotificationMail($bDeleted=false)
{
if(!$bDeleted)
{