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, 6.0 has been updated
       via  264f16515ae258d39dc61fe641fcd975c27c74bc (commit)
      from  001789e34c8b03a46b719c4f427364e7cda51d04 (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 -----------------------------------------------------------------
commit 264f16515ae258d39dc61fe641fcd975c27c74bc
Author: Sylvain Beucler <[email protected]>
Date:   Wed Jun 3 11:42:35 2015 +0200

    scmhook: allow disabling a hook

diff --git a/src/plugins/scmhook/common/scmhookPlugin.class.php 
b/src/plugins/scmhook/common/scmhookPlugin.class.php
index b7f4159..e5ef7ba 100644
--- a/src/plugins/scmhook/common/scmhookPlugin.class.php
+++ b/src/plugins/scmhook/common/scmhookPlugin.class.php
@@ -345,11 +345,6 @@ project independently.");
                                                echo ' disabled="disabled"';
 
                                        echo ' />';
-                                       if (in_array($hook->getClassname(), 
$hooksEnabled)) {
-                                               echo '<input type="hidden" ';
-                                               echo 
'name="'.$hook->getLabel().'_'.$hook->getClassname().'" ';
-                                               echo 'value="on" />';
-                                       }
                                        echo '</td><td';
                                        if (!$hook->isAvailable())
                                                echo ' 
title="'.$hook->getDisabledMessage().'"';
@@ -416,12 +411,6 @@ project independently.");
                                        echo ' disabled="disabled"';
 
                                echo ' />';
-                               if 
(in_array($hookServePushPullBundle->getClassname(), $hooksEnabled)) {
-                                       echo '<input type="hidden" ';
-                                       echo 
'name="'.$hookServePushPullBundle->getLabel().'_'.$hookServePushPullBundle->getClassname().'"
 ';
-                                       echo 'value="on" />';
-                               }
-
                                echo '</td><td';
                                if (!$hookServePushPullBundle->isAvailable())
                                        echo ' 
title="'.$hookServePushPullBundle->getDisabledMessage().'"';
@@ -471,12 +460,6 @@ project independently.");
                                        echo ' disabled="disabled"';
 
                                echo ' />';
-                               if (in_array($hookPostReceive->getClassname(), 
$hooksEnabled)) {
-                                       echo '<input type="hidden" ';
-                                       echo 
'name="'.$hookPostReceive->getLabel().'_'.$hookPostReceive->getClassname().'" ';
-                                       echo 'value="on" />';
-                               }
-
                                echo '</td><td';
                                if (!$hookPostReceive->isAvailable())
                                        echo ' 
title="'.$hookPostReceive->getDisabledMessage().'"';

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

Summary of changes:
 src/plugins/scmhook/common/scmhookPlugin.class.php | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/src/plugins/scmhook/common/scmhookPlugin.class.php 
b/src/plugins/scmhook/common/scmhookPlugin.class.php
index b7f4159..e5ef7ba 100644
--- a/src/plugins/scmhook/common/scmhookPlugin.class.php
+++ b/src/plugins/scmhook/common/scmhookPlugin.class.php
@@ -345,11 +345,6 @@ project independently.");
                                                echo ' disabled="disabled"';
 
                                        echo ' />';
-                                       if (in_array($hook->getClassname(), 
$hooksEnabled)) {
-                                               echo '<input type="hidden" ';
-                                               echo 
'name="'.$hook->getLabel().'_'.$hook->getClassname().'" ';
-                                               echo 'value="on" />';
-                                       }
                                        echo '</td><td';
                                        if (!$hook->isAvailable())
                                                echo ' 
title="'.$hook->getDisabledMessage().'"';
@@ -416,12 +411,6 @@ project independently.");
                                        echo ' disabled="disabled"';
 
                                echo ' />';
-                               if 
(in_array($hookServePushPullBundle->getClassname(), $hooksEnabled)) {
-                                       echo '<input type="hidden" ';
-                                       echo 
'name="'.$hookServePushPullBundle->getLabel().'_'.$hookServePushPullBundle->getClassname().'"
 ';
-                                       echo 'value="on" />';
-                               }
-
                                echo '</td><td';
                                if (!$hookServePushPullBundle->isAvailable())
                                        echo ' 
title="'.$hookServePushPullBundle->getDisabledMessage().'"';
@@ -471,12 +460,6 @@ project independently.");
                                        echo ' disabled="disabled"';
 
                                echo ' />';
-                               if (in_array($hookPostReceive->getClassname(), 
$hooksEnabled)) {
-                                       echo '<input type="hidden" ';
-                                       echo 
'name="'.$hookPostReceive->getLabel().'_'.$hookPostReceive->getClassname().'" ';
-                                       echo 'value="on" />';
-                               }
-
                                echo '</td><td';
                                if (!$hookPostReceive->isAvailable())
                                        echo ' 
title="'.$hookPostReceive->getDisabledMessage().'"';


hooks/post-receive
-- 
FusionForge

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

Reply via email to