Rosanne DiMesio : Allow admins to view comments in unmaintained entries
Jeremy Newman
jnewman at winehq.org
Tue May 30 14:31:05 CDT 2017
Module: appdb
Branch: master
Commit: 1868edfb61cda174f9c3a364ab1071d8ebf6a081
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=1868edfb61cda174f9c3a364ab1071d8ebf6a081
Author: Rosanne DiMesio <dimesio at earthlink.net>
Date: Tue May 30 12:00:50 2017 -0500
Allow admins to view comments in unmaintained entries
Needed for comment cleanup in unmaintained entries.
Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
Signed-off-by: Jeremy Newman <jnewman at codeweavers.com>
---
include/version.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/version.php b/include/version.php
index 45459fd..2c09be7 100644
--- a/include/version.php
+++ b/include/version.php
@@ -1164,7 +1164,7 @@ EOT;
// Comments Section
echo "<h2 id=\"viewComments\" class=\"whq-app-title\">Comments</h2>\n";
- if(sizeof($aMaintainers)>0)
+ if((sizeof($aMaintainers)>0) || ($_SESSION['current']->hasPriv("admin")))
{
if($this->iVersionId)
Comment::view_app_comments($this->iVersionId);
More information about the wine-cvs
mailing list