appdb/include application.php
WineHQ
wineowner at wine.codeweavers.com
Fri Dec 8 22:29:20 CST 2006
ChangeSet ID: 30434
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2006/12/08 22:29:20
Modified files:
include : application.php
Log message:
Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
The function refers to its own class, so use $this instead of $oApp. Also
prevent the application name from being printed twice.
Patch: http://cvs.winehq.org/patch.py?id=30434
Old revision New revision Changes Path
1.77 1.78 +3 -3 appdb/include/application.php
Index: appdb/include/application.php
diff -u -p appdb/include/application.php:1.77 appdb/include/application.php:1.78
--- appdb/include/application.php:1.77 9 Dec 2006 4:29:20 -0000
+++ appdb/include/application.php 9 Dec 2006 4:29:20 -0000
@@ -345,12 +345,12 @@ class Application {
{
case "add":
$sSubject = "Submitted application accepted";
- $sMsg = "The application you submitted (".$this->sName." ".$this->sName.") has been accepted by ".$_SESSION['current']->sRealname.".";
+ $sMsg = "The application you submitted (".$this->sName.") has been accepted by ".$_SESSION['current']->sRealname.".";
$sMsg .= "Administrators Responce:\n";
break;
case "reject":
$sSubject = "Submitted application rejected";
- $sMsg = "The application you submitted (".$this->sName." ".$this->sName.") has been rejected by ".$_SESSION['current']->sRealname.".";
+ $sMsg = "The application you submitted (".$this->sName.") has been rejected by ".$_SESSION['current']->sRealname.".";
$sMsg .= "Clicking on the link in this email will allow you to modify and resubmit the application. ";
$sMsg .= "A link to your queue of applications and versions will also show up on the left hand side of the Appdb site once you have logged in. ";
$sMsg .= APPDB_ROOT."appsubmit.php?sub=view&apptype=application&appId=".$this->iAppId."\n";
@@ -358,7 +358,7 @@ class Application {
break;
case "delete":
$sSubject = "Submitted application deleted";
- $sMsg = "The application you submitted (".$oApp->sName." ".$this->sName.") has been deleted by ".$_SESSION['current']->sRealname.".";
+ $sMsg = "The application you submitted (".$this->sName.") has been deleted by ".$_SESSION['current']->sRealname.".";
$sMsg .= "Reason given:\n";
break;
More information about the wine-cvs
mailing list