diff options
Diffstat (limited to 'engine/lib/objects.php')
-rw-r--r-- | engine/lib/objects.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php index 8f49ea1fa..331578ed6 100644 --- a/engine/lib/objects.php +++ b/engine/lib/objects.php @@ -54,7 +54,7 @@ class ElggObject extends ElggEntity { // Is $guid is an ElggObject? Use a copy constructor else if ($guid instanceof ElggObject) { - elgg_log('This type of usage of the ElggObject constructor was deprecated in 1.7. Please use the clone method.', 'WARNING'); + elgg_deprecated_notice('This type of usage of the ElggObject constructor was deprecated. Please use the clone method.', 1.7); foreach ($guid->attributes as $key => $value) { $this->attributes[$key] = $value; @@ -296,7 +296,7 @@ function delete_object_entity($guid) { * @deprecated 1.7 */ function search_for_object($criteria, $limit = 10, $offset = 0, $order_by = "", $count = false) { - elgg_log('search_for_object was deprecated in 1.7.', 'WARNING'); + elgg_deprecated_notice('search_for_object() was deprecated by new search plugin.', 1.7); global $CONFIG; $criteria = sanitise_string($criteria); @@ -361,7 +361,7 @@ function objects_test($hook, $type, $value, $params) { * */ function search_list_objects_by_name($hook, $user, $returnvalue, $tag) { - elgg_log('search_list_objects_by_name was deprecated in 1.7.', 'WARNING'); + elgg_deprecated_notice('search_list_objects_by_name was deprecated by new search plugin.', 1.7); // Change this to set the number of users that display on the search page $threshold = 4; |