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 04a27e49f7b5d08e0c1c38a17de55503a244dc44 (commit)
from 7fbf305a345f7048f4e82411bef4e621b49dec80 (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=04a27e49f7b5d08e0c1c38a17de55503a244dc44
commit 04a27e49f7b5d08e0c1c38a17de55503a244dc44
Author: Marc-Etienne Vargenau <[email protected]>
Date: Mon Jul 11 10:32:22 2016 +0200
Let us simplify even more
diff --git a/src/common/widget/Widget.class.php
b/src/common/widget/Widget.class.php
index ed88e5c..e7c7910 100644
--- a/src/common/widget/Widget.class.php
+++ b/src/common/widget/Widget.class.php
@@ -331,15 +331,7 @@ require_once
$gfcommon.'widget/Widget_HomeVersion.class.php';
return $widgets;
}
/* static */ function getExternalWidgets($owner_type) {
- switch ($owner_type) {
- case WidgetLayoutManager::OWNER_TYPE_USER:
- case WidgetLayoutManager::OWNER_TYPE_GROUP:
- case WidgetLayoutManager::OWNER_TYPE_HOME:
- default:
- $widgets = array();
- break;
- }
-
+ $widgets = array();
$plugins_widgets = array();
$em =& EventManager::instance();
$em->processEvent('widgets', array('external_widgets' =>
&$plugins_widgets, 'owner_type' => $owner_type));
-----------------------------------------------------------------------
Summary of changes:
src/common/widget/Widget.class.php | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits