ChangeSet ID: 30824 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/12/26 21:23:52
Modified files: include : testData.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com If test results are deleted by the person who submitted it, don't send an extra mail about it.
Patch: http://cvs.winehq.org/patch.py?id=30824
Old revision New revision Changes Path 1.12 1.13 +2 -1 appdb/include/testData.php
Index: appdb/include/testData.php diff -u -p appdb/include/testData.php:1.12 appdb/include/testData.php:1.13 --- appdb/include/testData.php:1.12 27 Dec 2006 3:23:52 -0000 +++ appdb/include/testData.php 27 Dec 2006 3:23:52 -0000 @@ -169,7 +169,8 @@ class testData{ if(!$bSilent) $this->SendNotificationMail("delete");
- $this->mailSubmitter("delete"); + if($this->iSubmitterId && ($this->iSubmitterId != $_SESSION['current']->iUserId)) + $this->mailSubmitter("delete"); }