aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/home.php5
-rw-r--r--version.inc2
2 files changed, 6 insertions, 1 deletions
diff --git a/mod/home.php b/mod/home.php
index e82aab385..2e57a2ab9 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -109,6 +109,11 @@ function home_content(&$a, $update = 0, $load = false) {
}
else {
+ if(get_config('system','disable_discover_tab')) {
+ call_hooks('home_content',$o);
+ return $o;
+ }
+
if(! $update) {
$maxheight = get_config('system','home_divmore_height');
diff --git a/version.inc b/version.inc
index 5fc4bc7c6..7eb391e00 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2015-01-12.917
+2015-01-14.918