From b7cc7c03cd1ede7c45a5621ca6dfe6e3979781e5 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Fri, 27 Jan 2006 21:55:04 +0000 Subject: replace old code with new versions - we need to stop babysitting outdated code --- rankings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rankings.php') diff --git a/rankings.php b/rankings.php index f8ef50e..d393e98 100644 --- a/rankings.php +++ b/rankings.php @@ -1,6 +1,6 @@ verifyPackage( 'blogs' ); -if ($feature_blog_rankings != 'y') { +if (!$gBitSystem->isFeatureActive( 'feature_blog_rankings' )) { $gBitSmarty->assign('msg', tra("This feature is disabled").": feature_blog_rankings"); $gBitSystem->display( 'error.tpl' ); -- cgit v1.3