aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-09 22:04:46 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-09 22:04:46 +0000
commit6b3ee5365b10afc37677781fc5f07539f1d8636f (patch)
treea9280742d01bda2b5b5b9ee7540f1c8a7fc31947 /mod/groups
parent6f41511034886224e0888d2f886c7d7ccc48636d (diff)
downloadelgg-6b3ee5365b10afc37677781fc5f07539f1d8636f.tar.gz
elgg-6b3ee5365b10afc37677781fc5f07539f1d8636f.tar.bz2
Refs #2874. Finished removing calls to deprecated plugin mgmt functions in core and core plugins.
git-svn-id: http://code.elgg.org/elgg/trunk@8090 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/actions/edit.php2
-rw-r--r--mod/groups/views/default/forms/groups/edit.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php
index e10739244..baa1a7065 100644
--- a/mod/groups/actions/edit.php
+++ b/mod/groups/actions/edit.php
@@ -72,7 +72,7 @@ switch (get_input('membership')) {
}
// Set access - all groups are public from elgg's point of view, unless the override is in place
-if (get_plugin_setting('hidden_groups', 'groups') == 'yes') {
+if (elgg_get_plugin_setting('hidden_groups', 'groups') == 'yes') {
$visibility = (int)get_input('vis','',false);
$group->access_id = $visibility;
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php
index 7d24a3c00..8c472d281 100644
--- a/mod/groups/views/default/forms/groups/edit.php
+++ b/mod/groups/views/default/forms/groups/edit.php
@@ -63,7 +63,7 @@ if ($group_profile_fields > 0) {
<?php
-if (get_plugin_setting('hidden_groups', 'groups') == 'yes') {
+if (elgg_get_plugin_setting('hidden_groups', 'groups') == 'yes') {
$this_owner = $vars['entity']->owner_guid;
if (!$this_owner) {
$this_owner = elgg_get_logged_in_user_guid();