[AppDB] Send backlink to adminsitrators/maintainers too when rejecting an application/version

Tony Lambregts tony.lambregts at gmail.com
Tue Sep 20 19:55:36 CDT 2005


Change Log: Send backlink to adminsitrators/maintainers too when rejecting an 
application/version

Files changed: include/version.php include/application.php
-------------- next part --------------
Index: include/version.php
===================================================================
RCS file: /home/wine/appdb/include/version.php,v
retrieving revision 1.31
diff -u -r1.31 version.php
--- include/version.php	21 Aug 2005 03:50:39 -0000	1.31
+++ include/version.php	21 Sep 2005 00:41:18 -0000
@@ -471,12 +471,11 @@
             break;
             case "reject":
                 $sSubject = "Version '".$this->sName."' of '".$oApp->sName."' has been rejected by ".$_SESSION['current']->sRealname;
+                $sMsg .= APPDB_ROOT."admin/resubmitRejectedApps.php?sub=view&versionId=".$this->iVersionId."\n";
 
                  /* if replyText is set we should report the reason the application was rejected */
                 if($_REQUEST['replyText'])
                 {
-                    $sMsg  = APPDB_ROOT."admin/resubmitRejectedApps.php?versionId=".$this->iVersionId."\n";
-
                     $sMsg .= "Reason given:\n";
                     $sMsg .= $_REQUEST['replyText']."\n"; /* append the reply text, if there is any */
                 }
Index: include/application.php
===================================================================
RCS file: /home/wine/appdb/include/application.php,v
retrieving revision 1.30
diff -u -r1.30 application.php
--- include/application.php	15 Aug 2005 03:44:03 -0000	1.30
+++ include/application.php	21 Sep 2005 00:41:19 -0000
@@ -398,6 +398,7 @@
             break;
             case "reject":
                 $sSubject = $this->sName." has been rejected by ".$_SESSION['current']->sRealname;
+                $sMsg .= APPDB_ROOT."admin/resubmitRejectedApps.php?sub=view&appId=".$this->iAppId."\n";
 
                 /* if replyText is set we should report the reason the application was rejected */
                 if($_REQUEST['replyText'])


More information about the wine-patches mailing list