appdb/include version.php
WineHQ
wineowner at wine.codeweavers.com
Sat Jan 28 17:06:07 CST 2006
ChangeSet ID: 22585
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2006/01/28 17:06:07
Modified files:
include : version.php
Log message:
Tony Lambregts <tony.lambregts at gmail.com>
Version class fixes. Let update() be silent if desired, get rid of redundant message in unqueue().
Patch: http://cvs.winehq.org/patch.py?id=22585
Old revision New revision Changes Path
1.45 1.46 +2 -5 appdb/include/version.php
Index: appdb/include/version.php
diff -u -p appdb/include/version.php:1.45 appdb/include/version.php:1.46
--- appdb/include/version.php:1.45 28 Jan 2006 23: 6: 7 -0000
+++ appdb/include/version.php 28 Jan 2006 23: 6: 7 -0000
@@ -207,7 +207,7 @@ class Version {
/**
* Update version.
*/
- function update()
+ function update($bSilent=false)
{
$sWhatChanged = "";
@@ -270,7 +270,7 @@ class Version {
$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 @@ class Version {
// 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-cvs
mailing list