From e67cf68ba9ab9a959f389dc3424cf26713678a3c Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Thu, 12 Oct 2006 07:43:31 +0000 Subject: fixed a few typos causing ratings to not work at all :( --- lib/rating.lib.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'lib/rating.lib.php') diff --git a/lib/rating.lib.php b/lib/rating.lib.php index 4f854c93..676a37eb 100644 --- a/lib/rating.lib.php +++ b/lib/rating.lib.php @@ -28,19 +28,7 @@ function show_rating($object_id,$type) { $rating = new Rating($object_id,$type); - switch (conf('ratings')) { - case 'normal': - include(conf('prefix') . '/templates/show_object_rating.inc.php'); - break; - case 'flash': - include(conf('prefix') . '/templates/show_object_rating_flash.inc.php'); - break; - default: - return false; - break; - } // end flash switch - - return true; + include(conf('prefix') . '/templates/show_object_rating.inc.php'); } // show_rating -- cgit