aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-28 15:16:50 -0800
committerzotlabs <mike@macgirvin.com>2017-12-28 15:16:50 -0800
commit1fcf59ff94200a542bfc99c592a924236de1d3c7 (patch)
tree0529ed9e9304cc2a2719cada30a9bf3de9816402 /Zotlabs/Module
parent5cfb63da50f21f0f9591599cde476b575cb1266e (diff)
downloadvolse-hubzilla-1fcf59ff94200a542bfc99c592a924236de1d3c7.tar.gz
volse-hubzilla-1fcf59ff94200a542bfc99c592a924236de1d3c7.tar.bz2
volse-hubzilla-1fcf59ff94200a542bfc99c592a924236de1d3c7.zip
cleanup
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Network.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/Zotlabs/Module/Network.php b/Zotlabs/Module/Network.php
index d54220e75..0da2a5676 100644
--- a/Zotlabs/Module/Network.php
+++ b/Zotlabs/Module/Network.php
@@ -35,9 +35,12 @@ class Network extends \Zotlabs\Web\Controller {
return login(false);
}
- if($load)
+ $o = '';
+
+ if($load) {
$_SESSION['loadtime'] = datetime_convert();
-
+ }
+
$arr = array('query' => \App::$query_string);
call_hooks('network_content_init', $arr);
@@ -104,7 +107,6 @@ class Network extends \Zotlabs\Web\Controller {
$def_acl = array('allow_gid' => '<' . $r[0]['hash'] . '>');
}
- $o = '';
$default_cmin = ((feature_enabled(local_channel(),'affinity')) ? get_pconfig(local_channel(),'affinity','cmin',0) : 0);
$default_cmax = ((feature_enabled(local_channel(),'affinity')) ? get_pconfig(local_channel(),'affinity','cmax',99) : 99);