From 1093e8d83efeabc7f4154ce04b5f7f554b9957e5 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Sun, 30 Mar 2014 22:59:37 +0100 Subject: Default discover to on. --- include/conversation.php | 2 +- include/poller.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/conversation.php b/include/conversation.php index a6e81dd7f..af41e8fa7 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1384,7 +1384,7 @@ function network_tabs() { // tabs $tabs = array(); - if(get_config('system','discover_tab')) { + if(! get_config('system','disable_discover_tab')) { $tabs[] = array( 'label' => t('Discover'), 'url'=>$a->get_baseurl(true) . '/' . $cmd . '?f=&fh=1' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : '') . ((x($_GET,'gid')) ? '&gid=' . $_GET['gid'] : ''), diff --git a/include/poller.php b/include/poller.php index 0eb161862..9592c29e4 100644 --- a/include/poller.php +++ b/include/poller.php @@ -169,7 +169,7 @@ function poller_run($argv, $argc){ // pull in some public posts - if(get_config('system','discover_tab')) + if(! get_config('system','disable_discover_tab')) proc_run('php','include/externals.php'); -- cgit v1.2.3