From 9c158448455caf38a401531c80432351456b67bb Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 15 Jan 2015 17:50:24 -0800 Subject: make sure mod/prep follows the poco_rating allow preference --- mod/prep.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mod') diff --git a/mod/prep.php b/mod/prep.php index e53f7ac4e..7cff34bfc 100644 --- a/mod/prep.php +++ b/mod/prep.php @@ -2,6 +2,15 @@ function prep_content(&$a) { + + $poco_rating = get_config('system','poco_rating_enable'); + // if unset default to enabled + if($poco_rating === false) + $poco_rating = true; + + if(! $poco_rating) + return; + if(argc() > 1) $hash = argv(1); -- cgit v1.2.3