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.1 has been updated
via 4f7abc16211daf2f8f1ef3f1fd37c7235edba6bb (commit)
via 06a85bfed4e532bc2bbfe555df41e99032829d51 (commit)
from c22f909f7c93f90e218fdc6a9f204f9ab7078d1b (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=4f7abc16211daf2f8f1ef3f1fd37c7235edba6bb
commit 4f7abc16211daf2f8f1ef3f1fd37c7235edba6bb
Author: Franck Villaume <[email protected]>
Date: Sun Sep 29 18:45:47 2019 +0200
Thanks to Florian Bruneau for fixing [#911]
diff --git a/src/CHANGES b/src/CHANGES
index a62d6fc..333f98c 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -1,6 +1,7 @@
FusionForge 6.1.1:
* Search Engine: fix PHP notice in SearchManager.class.php [#908] (TrivialDev)
* Plugin Scmhook: fix scmhook commitEmail for scmhg broken [#903] (TrivialDev)
+* Plugin Scmhook: fix scmhook commitTracker [#911] (Florian Bruneau)
* Plugin Scmsvn: fix <reponame>_scmsvn_paths.txt support [#906] (TrivialDev)
* Plugin Scmgit: fix wrong host for js, css inclusion [#909] (TrivialDev)
* Project Admin: fix FRS notification settings [#910] (TrivialDev)
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=06a85bfed4e532bc2bbfe555df41e99032829d51
commit 06a85bfed4e532bc2bbfe555df41e99032829d51
Author: Franck Villaume <[email protected]>
Date: Sun Sep 29 18:37:47 2019 +0200
Tasks linked commits doesn't show on task detail
diff --git a/src/plugins/scmhook/common/scmhookPlugin.class.php
b/src/plugins/scmhook/common/scmhookPlugin.class.php
index 70fb83d..54e7b43 100644
--- a/src/plugins/scmhook/common/scmhookPlugin.class.php
+++ b/src/plugins/scmhook/common/scmhookPlugin.class.php
@@ -295,10 +295,14 @@ project independently.");
function task_extra_detail($params) {
$hooksAvailable = $this->getAvailableHooks($params['group_id']);
$hooksEnabled = $this->getEnabledHooks($params['group_id']);
- foreach ($hooksAvailable as $hookAvailable) {
- if (in_array($hookAvailable->getClassname(),
$hooksEnabled)) {
- if
(method_exists($hookAvailable,'task_extra_detail')) {
-
$hookAvailable->task_extra_detail($params);
+ foreach ($hooksEnabled as $key => $repos) {
+ foreach ($repos as $repo) {
+ foreach ($hooksAvailable as $hookAvailable) {
+ if
(in_array($hookAvailable->getClassname(), $hooksEnabled)) {
+ if
(method_exists($hookAvailable,'task_extra_detail')) {
+
$hookAvailable->task_extra_detail($params);
+ }
+ }
}
}
}
-----------------------------------------------------------------------
Summary of changes:
src/CHANGES | 1 +
src/plugins/scmhook/common/scmhookPlugin.class.php | 12 ++++++++----
2 files changed, 9 insertions(+), 4 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits