aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/widgets/add.php2
-rw-r--r--views/default/widgets/wrapper.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/widgets/add.php b/views/default/widgets/add.php
index 9687c5bea..c8576cf06 100644
--- a/views/default/widgets/add.php
+++ b/views/default/widgets/add.php
@@ -1,7 +1,7 @@
<?php
$widgets = $vars['widgets'];
-$widget_types = get_widget_types();
+$widget_types = elgg_get_widget_types();
$context = $vars['context'];
diff --git a/views/default/widgets/wrapper.php b/views/default/widgets/wrapper.php
index a113d114e..8e92c119b 100644
--- a/views/default/widgets/wrapper.php
+++ b/views/default/widgets/wrapper.php
@@ -12,7 +12,7 @@ if (!elgg_instanceof($widget, 'object', 'widget')) {
}
// @todo catch for disabled plugins
-$widgettypes = get_widget_types();
+$widgettypes = elgg_get_widget_types('all');
$handler = $widget->handler;