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 e2f3852d8c81badca9a3e7a15a0dd263743c86ec (commit)
from 01d5d82cfa0016d22276754c8c1b6c9fe15be9bb (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=e2f3852d8c81badca9a3e7a15a0dd263743c86ec
commit e2f3852d8c81badca9a3e7a15a0dd263743c86ec
Author: Franck Villaume <[email protected]>
Date: Sat Oct 8 17:50:26 2016 +0200
moinmoin plugin: no admin link => remove useless hook, fix
role_translate_strings hook, add missing hook clone_project_from_template
diff --git a/src/plugins/moinmoin/common/MoinMoinPlugin.class.php
b/src/plugins/moinmoin/common/MoinMoinPlugin.class.php
index 3e8ffba..501c3cb 100644
--- a/src/plugins/moinmoin/common/MoinMoinPlugin.class.php
+++ b/src/plugins/moinmoin/common/MoinMoinPlugin.class.php
@@ -45,7 +45,6 @@ _("This plugin allows each project to embed MoinMoinWiki
under a tab.");
$this->hooks[] = "role_unlink_project";
$this->hooks[] = "role_translate_strings";
$this->hooks[] = "role_get_setting";
- $this->hooks[] = "project_admin_plugins"; // to show up in the
admin page for group
$this->hooks[] = "clone_project_from_template" ;
}
@@ -138,8 +137,8 @@ _("This plugin allows each project to embed MoinMoinWiki
under a tab.");
$project->getID()));
}
} elseif ($hookname == "role_translate_strings") {
- $right = new PluginSpecificRoleSetting ($role,
-
'plugin_moinmoin_access') ;
+ $role =& $params['role'];
+ $right = new PluginSpecificRoleSetting ($role,
'plugin_moinmoin_access') ;
$right->setDescription (_('MoinMoin Wiki access')) ;
$right->setValueDescriptions (array ('0' => _('No
Access'),
'1' => _('Read
access'),
@@ -160,6 +159,9 @@ _("This plugin allows each project to embed MoinMoinWiki
under a tab.");
}
break ;
}
+ } elseif ($hookname == 'clone_project_from_template') {
+ $systasksq = new SystasksQ();
+ $systasksq->add($this->getID(), 'MOINMOIN_CREATE_WIKI',
$group_id);
}
}
-----------------------------------------------------------------------
Summary of changes:
src/plugins/moinmoin/common/MoinMoinPlugin.class.php | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits