aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-21 16:46:28 -0700
committerfriendica <info@friendica.com>2015-03-21 16:46:28 -0700
commita2e3ca6fd8ba8c0630de089d772fdd668b84428b (patch)
tree66396776eb293108450c98f2ec1047cafda0fcb5 /mod/network.php
parent85dd08427c6067554762854c584eae0ca90fea43 (diff)
downloadvolse-hubzilla-a2e3ca6fd8ba8c0630de089d772fdd668b84428b.tar.gz
volse-hubzilla-a2e3ca6fd8ba8c0630de089d772fdd668b84428b.tar.bz2
volse-hubzilla-a2e3ca6fd8ba8c0630de089d772fdd668b84428b.zip
add loadtime search to channel and fix it for home. display and search need further investigation
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/network.php b/mod/network.php
index 7f8d39044..ecbeb4085 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -27,12 +27,13 @@ function network_init(&$a) {
function network_content(&$a, $update = 0, $load = false) {
-
if(! local_channel()) {
$_SESSION['return_url'] = $a->query_string;
return login(false);
}
+ if($load)
+ $_SESSION['loadtime'] = datetime_convert();
$arr = array('query' => $a->query_string);
@@ -416,8 +417,6 @@ function network_content(&$a, $update = 0, $load = false) {
if($load) {
- $_SESSION['loadtime'] = datetime_convert();
-
// Fetch a page full of parent items for this page
$r = q("SELECT distinct item.id AS item_id, $ordering FROM item