Fix mail were sent without the name of application or version when a new application or version was added
This commit is contained in:
@@ -134,8 +134,8 @@ class Application {
|
|||||||
if(query_appdb("INSERT INTO appFamily $sFields VALUES $sValues", "Error while creating a new application."))
|
if(query_appdb("INSERT INTO appFamily $sFields VALUES $sValues", "Error while creating a new application."))
|
||||||
{
|
{
|
||||||
$this->iAppId = mysql_insert_id();
|
$this->iAppId = mysql_insert_id();
|
||||||
$this->mailSupermaintainers(); // Only administrators will be mailed as no supermaintainers exist for this app.
|
|
||||||
$this->application($this->iAppId);
|
$this->application($this->iAppId);
|
||||||
|
$this->mailSupermaintainers(); // Only administrators will be mailed as no supermaintainers exist for this app.
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -138,8 +138,8 @@ class Version {
|
|||||||
if(query_appdb("INSERT INTO appVersion $sFields VALUES $sValues", "Error while creating a new version."))
|
if(query_appdb("INSERT INTO appVersion $sFields VALUES $sValues", "Error while creating a new version."))
|
||||||
{
|
{
|
||||||
$this->iVersionId = mysql_insert_id();
|
$this->iVersionId = mysql_insert_id();
|
||||||
$this->mailMaintainers();
|
|
||||||
$this->version($this->iVersionId);
|
$this->version($this->iVersionId);
|
||||||
|
$this->mailMaintainers();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user