ChangeSet ID: 31208 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/06/15 18:54:50
Modified files: include : version_queue.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com Hide the maintainer box if the user supermaintains the application
Patch: http://cvs.winehq.org/patch.py?id=31208
Old revision New revision Changes Path 1.14 1.15 +2 -1 appdb/include/version_queue.php
Index: appdb/include/version_queue.php diff -u -p appdb/include/version_queue.php:1.14 appdb/include/version_queue.php:1.15 --- appdb/include/version_queue.php:1.14 15 Jun 2007 23:54:50 -0000 +++ appdb/include/version_queue.php 15 Jun 2007 23:54:50 -0000 @@ -101,7 +101,8 @@ class version_queue /* Allow the user to apply as maintainer if this is a new version. If it is a new application as well, radio boxes will be displayed by the application class instead. */ - if(!$this->oVersion->iVersionId && $this->oVersion->iAppId) + if(!$this->oVersion->iVersionId && $this->oVersion->iAppId && + !$_SESSION['current']->isSuperMaintainer($this->oVersion->iAppId)) { echo html_frame_start("Become Maintainer", "90%"); echo "<div style='padding:5px;' class='color0'>\n";