This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  b4d6e5502b03a75677053aff1ad0a29447148804 (commit)
      from  c1f59770ced69411fd2440ed22e4aba6d4cd2a78 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=b4d6e5502b03a75677053aff1ad0a29447148804

commit b4d6e5502b03a75677053aff1ad0a29447148804
Author: Franck Villaume <[email protected]>
Date:   Sun Jan 22 19:01:16 2017 +0100

    remove useless perm check

diff --git a/src/www/widgets/widget.php b/src/www/widgets/widget.php
index e0c4449..fb03bf6 100644
--- a/src/www/widgets/widget.php
+++ b/src/www/widgets/widget.php
@@ -55,9 +55,7 @@ if ($request->valid($vOwner)) {
                        }
                        break;
                case WidgetLayoutManager::OWNER_TYPE_HOME:
-                       if (forge_check_global_perm('forge_admin')) {
-                               $good = true;
-                       }
+                       $good = true;
                        break;
                case WidgetLayoutManager::OWNER_TYPE_TRACKER:
                        if ($at = artifactType_get_object($owner_id)) {

-----------------------------------------------------------------------

Summary of changes:
 src/www/widgets/widget.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to