From 0a274719cddf5fd2cc26804fb51fdd28a1bcabe0 Mon Sep 17 00:00:00 2001 From: brettp Date: Sun, 31 Jan 2010 23:50:21 +0000 Subject: Deprecated old search functions and views. git-svn-id: http://code.elgg.org/elgg/trunk@3872 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/sites.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engine/lib/sites.php') diff --git a/engine/lib/sites.php b/engine/lib/sites.php index 0892f2963..c69032bd2 100644 --- a/engine/lib/sites.php +++ b/engine/lib/sites.php @@ -501,8 +501,10 @@ function get_site_by_url($url) { * @param int $offset Offset. * @param string $order_by The order. * @param boolean $count Whether to return the count of results or just the results. + * @deprecated 1.7 */ function search_for_site($criteria, $limit = 10, $offset = 0, $order_by = "", $count = false) { + elgg_log('search_for_site() was deprecated in 1.7.', 'WARNING'); global $CONFIG; $criteria = sanitise_string($criteria); -- cgit v1.2.3