diff options
author | Alexandre Hannud Abdo <abdo@member.fsf.org> | 2014-03-29 23:20:43 -0300 |
---|---|---|
committer | Alexandre Hannud Abdo <abdo@member.fsf.org> | 2014-03-30 00:03:12 -0300 |
commit | fedd19ec95bfe963ab19d9e55f184b8ffe9f0da0 (patch) | |
tree | b3c6262e6d188b7b7a538b5b19be3b0c3aeb96c0 /include/poller.php | |
parent | 7ed177c7cde9e987c18d3f0c0b5b3fc6e371c814 (diff) | |
download | volse-hubzilla-fedd19ec95bfe963ab19d9e55f184b8ffe9f0da0.tar.gz volse-hubzilla-fedd19ec95bfe963ab19d9e55f184b8ffe9f0da0.tar.bz2 volse-hubzilla-fedd19ec95bfe963ab19d9e55f184b8ffe9f0da0.zip |
Let the site admin choose whether to display the Discover tab.
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php index 19037ef17..0eb161862 100644 --- a/include/poller.php +++ b/include/poller.php @@ -169,7 +169,8 @@ function poller_run($argv, $argc){ // pull in some public posts - proc_run('php','include/externals.php'); + if(get_config('system','discover_tab')) + proc_run('php','include/externals.php'); $manual_id = 0; |