function CategoryViewsTime($name, $reason = '') { global $mainframe, $my; $config =& JCommentsFactory::getConfig(); if ($config->get('CategoryGet') != '') { $object = new stdClass(); $object->object_cat = CategoryFactory::getAbs($object->object_cat); $commentText = $comment->comment; } }