aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-12 17:58:16 -0700
committerFriendika <info@friendika.com>2011-04-12 17:58:16 -0700
commit5654ce926ca012acd9f725c8c7d6e32609a17646 (patch)
tree75b5d42453a28b171cb5cf15acec41dc48875c9e /mod/search.php
parent38014e9b4d720a6a18e87b3c10f71bfa2e7038d4 (diff)
downloadvolse-hubzilla-5654ce926ca012acd9f725c8c7d6e32609a17646.tar.gz
volse-hubzilla-5654ce926ca012acd9f725c8c7d6e32609a17646.tar.bz2
volse-hubzilla-5654ce926ca012acd9f725c8c7d6e32609a17646.zip
move all message display sub-functions from boot.php into conversation.php
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/search.php b/mod/search.php
index 23b2ddb7e..793a8c2bb 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -9,6 +9,10 @@ function search_post(&$a) {
function search_content(&$a) {
+ require_once("include/bbcode.php");
+ require_once('include/security.php');
+ require_once('include/conversation.php');
+
if(x($_SESSION,'theme'))
unset($_SESSION['theme']);
@@ -26,8 +30,6 @@ function search_content(&$a) {
if(! $search)
return $o;
- require_once("include/bbcode.php");
- require_once('include/security.php');
$sql_extra = "
AND `item`.`allow_cid` = ''
@@ -81,7 +83,6 @@ function search_content(&$a) {
);
- require_once('include/conversation.php');
$o .= conversation($a,$r,'search',false);