mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 07:35:14 +00:00
nav_set_selected() and minor whitespace for mod pubstream
This commit is contained in:
parent
6e9e267b27
commit
a7d339be5a
1 changed files with 3 additions and 1 deletions
|
@ -28,6 +28,8 @@ class Pubstream extends \Zotlabs\Web\Controller {
|
|||
|
||||
if(! $update) {
|
||||
|
||||
nav_set_selected(t('Public Stream'));
|
||||
|
||||
$_SESSION['static_loadtime'] = datetime_convert();
|
||||
|
||||
$static = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 1);
|
||||
|
@ -108,7 +110,7 @@ class Pubstream extends \Zotlabs\Web\Controller {
|
|||
$simple_update = '';
|
||||
|
||||
if($static && $simple_update)
|
||||
$simple_update .= " and item_thread_top = 0 and author_xchan = '" . protect_sprintf(get_observer_hash()) . "' ";
|
||||
$simple_update .= " and item_thread_top = 0 and author_xchan = '" . protect_sprintf(get_observer_hash()) . "' ";
|
||||
|
||||
//logger('update: ' . $update . ' load: ' . $load);
|
||||
|
||||
|
|
Loading…
Reference in a new issue