aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sites.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-31 23:50:21 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-31 23:50:21 +0000
commit0a274719cddf5fd2cc26804fb51fdd28a1bcabe0 (patch)
tree37af4997b98822260900c376e8768da42d48cf7b /engine/lib/sites.php
parent10136dab54a59af57071c56e11e5ac2b394b0a2a (diff)
downloadelgg-0a274719cddf5fd2cc26804fb51fdd28a1bcabe0.tar.gz
elgg-0a274719cddf5fd2cc26804fb51fdd28a1bcabe0.tar.bz2
Deprecated old search functions and views.
git-svn-id: http://code.elgg.org/elgg/trunk@3872 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/sites.php')
-rw-r--r--engine/lib/sites.php2
1 files changed, 2 insertions, 0 deletions
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);