diff options
author | git-marijus <mario@mariovavti.com> | 2016-11-02 16:12:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-02 16:12:05 +0100 |
commit | 5d3e04216d466e57dfeefe0319dd14b26e8487a2 (patch) | |
tree | ef9651ccd33ef30f8208491db21ccef7cc6a4483 /Zotlabs/Module/Display.php | |
parent | 055d55b71b2430850f758378513e75e69fa27745 (diff) | |
parent | ca948d66a901677665c7a5983dc438918d7fb1c9 (diff) | |
download | volse-hubzilla-5d3e04216d466e57dfeefe0319dd14b26e8487a2.tar.gz volse-hubzilla-5d3e04216d466e57dfeefe0319dd14b26e8487a2.tar.bz2 volse-hubzilla-5d3e04216d466e57dfeefe0319dd14b26e8487a2.zip |
Merge pull request #574 from zotlabs/static_update
feature: static page update as opposed to live update of conversation…
Diffstat (limited to 'Zotlabs/Module/Display.php')
-rw-r--r-- | Zotlabs/Module/Display.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index 3d3609ee0..42bb6fe14 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -130,6 +130,7 @@ class Display extends \Zotlabs\Web\Controller { if($load) $simple_update = ''; + $static = ((local_channel()) ? intval(feature_enabled(local_channel(),'static_updates')) : 0); if((! $update) && (! $load)) { @@ -154,6 +155,7 @@ class Display extends \Zotlabs\Web\Controller { '$fh' => '0', '$nouveau' => '0', '$wall' => '0', + '$static' => $static, '$page' => ((\App::$pager['page'] != 1) ? \App::$pager['page'] : 1), '$list' => ((x($_REQUEST,'list')) ? intval($_REQUEST['list']) : 0), '$search' => '', |