ChangeSet ID: 30823 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/12/26 21:23:01
Modified files: include : screenshot.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com If a person deletes a screenshot he has submitted himself, don't send him an extra email about it.
Patch: http://cvs.winehq.org/patch.py?id=30823
Old revision New revision Changes Path 1.51 1.52 +1 -1 appdb/include/screenshot.php
Index: appdb/include/screenshot.php diff -u -p appdb/include/screenshot.php:1.51 appdb/include/screenshot.php:1.52 --- appdb/include/screenshot.php:1.51 27 Dec 2006 3:23: 1 -0000 +++ appdb/include/screenshot.php 27 Dec 2006 3:23: 1 -0000 @@ -144,7 +144,7 @@ class Screenshot { if(!$bSilent) $this->mailMaintainers(true); } - if($this->iSubmitterId) + if($this->iSubmitterId && ($this->iSubmitterId != $_SESSION['current']->iUserId)) { $this->mailSubmitter(true); }