[AppDB] Clean up fixes for Version
Tony Lambregts
tony.lambregts at gmail.com
Sat Jan 28 10:28:15 CST 2006
Changes:
Let update be silent when we want it to be.
Get rid of redundent message in unqueue()
Change Log: Clean up fixes for version
Files Changed: include/version.php
-------------- next part --------------
Index: include/version.php
===================================================================
RCS file: /home/wine/appdb/include/version.php,v
retrieving revision 1.45
diff -u -r1.45 version.php
--- include/version.php 18 Jan 2006 04:32:28 -0000 1.45
+++ include/version.php 28 Jan 2006 16:26:01 -0000
@@ -207,7 +207,7 @@
/**
* Update version.
*/
- function update()
+ function update($bSilent=false)
{
$sWhatChanged = "";
@@ -270,7 +270,7 @@
$sWhatChanged .= "Version was moved from application ".$oAppBefore->sName." to application ".$oAppAfter->sName.".\n\n";
}
- if($sWhatChanged)
+ if($sWhatChanged and !$bSilent)
$this->SendNotificationMail("edit",$sWhatChanged);
return true;
}
@@ -367,9 +367,6 @@
// we send an e-mail to intersted people
$this->mailSubmitter("unQueue");
$this->SendNotificationMail();
-
- // the version has been unqueued
- addmsg("The version has been unqueued.", "green");
}
}
More information about the wine-patches
mailing list