diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-09 00:30:35 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-09 00:30:35 +0000 |
commit | b97b391cdd12ec62931c2a825ed4c70478ec5db0 (patch) | |
tree | 68c6d83de079eb3b54dfbb543ff11b028d24ad4b /mod/sitepages | |
parent | 033b7726df3db6a96f2ade8e782709a6602ac3bc (diff) | |
download | elgg-b97b391cdd12ec62931c2a825ed4c70478ec5db0.tar.gz elgg-b97b391cdd12ec62931c2a825ed4c70478ec5db0.tar.bz2 |
Refs #2874: Using elgg_is_active_plugin() in core and bundled plugins.
git-svn-id: http://code.elgg.org/elgg/trunk@8082 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages')
-rw-r--r-- | mod/sitepages/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sitepages/index.php b/mod/sitepages/index.php index 053f82996..56463a8d8 100644 --- a/mod/sitepages/index.php +++ b/mod/sitepages/index.php @@ -16,7 +16,7 @@ $content .= elgg_view_title(elgg_echo('content:latest')); elgg_set_context('search');
$offset = (int)get_input('offset', 0);
-if(is_plugin_enabled('riverdashboard')){
+if(elgg_is_active_plugin('riverdashboard')){
$items = elgg_view_river_items(0, 0, "", "", "", '', 10, 0, 0, true, false);
$content .= elgg_view('riverdashboard/container', array('body' => $items . elgg_view('riverdashboard/js')));
}else{
|