aboutsummaryrefslogtreecommitdiff
path: root/mod/embed
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed')
-rw-r--r--mod/embed/views/default/embed/embed.php2
-rw-r--r--mod/embed/views/default/embed/link.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/embed/views/default/embed/embed.php b/mod/embed/views/default/embed/embed.php
index 7e84a9d72..e839450da 100644
--- a/mod/embed/views/default/embed/embed.php
+++ b/mod/embed/views/default/embed/embed.php
@@ -87,7 +87,7 @@ if (!$sections) {
// pull out some common tests
// embed requires ECML, but until we have plugin deps working
// we need to explicitly check and use a fallback.
- if ($ecml_enabled = is_plugin_enabled('ecml')){
+ if ($ecml_enabled = elgg_is_active_plugin('ecml')){
$ecml_valid_keyword = ecml_is_valid_keyword($active_section);
} else {
$ecml_valid_keyword = FALSE;
diff --git a/mod/embed/views/default/embed/link.php b/mod/embed/views/default/embed/link.php
index bbe6c74f5..c4fae0d42 100644
--- a/mod/embed/views/default/embed/link.php
+++ b/mod/embed/views/default/embed/link.php
@@ -4,7 +4,7 @@
*/
// yeah this is naughty. embed and ecml might want to merge.
-if (is_plugin_enabled('ecml')) {
+if (elgg_is_active_plugin('ecml')) {
$active_section = 'active_section=web_services&';
} else {
$active_section = '';