make sure mod/prep follows the poco_rating allow preference
This commit is contained in:
parent
6cd26c3590
commit
9c15844845
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user