diff options
Diffstat (limited to 'engine/lib/group.php')
-rw-r--r-- | engine/lib/group.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php index 3a6f3adf1..ab6a7d3be 100644 --- a/engine/lib/group.php +++ b/engine/lib/group.php @@ -48,7 +48,7 @@ class ElggGroup extends ElggEntity } // Is $guid is an ElggGroup? Use a copy constructor else if ($guid instanceof ElggGroup) { - elgg_log('This type of usage of the ElggGroup constructor was deprecated in 1.7. Please use the clone method.', 'WARNING'); + elgg_deprecated_notice('This type of usage of the ElggGroup constructor was deprecated. Please use the clone method.', 1.7); foreach ($guid->attributes as $key => $value) { $this->attributes[$key] = $value; @@ -870,7 +870,7 @@ function add_group_tool_option($name,$label,$default_on=true) { * @deprecated 1.7 */ function search_for_group($criteria, $limit = 10, $offset = 0, $order_by = "", $count = false) { - elgg_log('search_for_group() was deprecated in 1.7.', 'WARNING'); + elgg_deprecated_notice('search_for_group() was deprecated by new search plugin.', 1.7); global $CONFIG; $criteria = sanitise_string($criteria); @@ -910,7 +910,7 @@ function search_for_group($criteria, $limit = 10, $offset = 0, $order_by = "", $ * @deprecated 1.7 */ function search_list_groups_by_name($hook, $user, $returnvalue, $tag) { - elgg_log('search_list_groups_by_name() was deprecated in 1.7.', 'WARNING'); + elgg_deprecated_notice('search_list_groups_by_name() was deprecated by new search plugin', 1.7); // Change this to set the number of groups that display on the search page $threshold = 4; @@ -941,7 +941,7 @@ function search_list_groups_by_name($hook, $user, $returnvalue, $tag) { * @deprecated 1.7 */ function list_group_search($tag, $limit = 10) { - elgg_log('list_group_search() was deprecated in 1.7.', 'WARNING'); + elgg_deprecated_notice('list_group_search() was deprecated by new search plugin.', 1.7); $offset = (int) get_input('offset'); $limit = (int) $limit; $count = (int) search_for_group($tag, 10, 0, '', true); |