Index: fivestar.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/fivestar/fivestar.module,v
retrieving revision 1.13.2.38
diff -u -p -r1.13.2.38 fivestar.module
--- fivestar.module	23 Aug 2008 05:17:09 -0000	1.13.2.38
+++ fivestar.module	30 Sep 2008 12:45:21 -0000
@@ -33,27 +33,23 @@ function fivestar_menu() {
     'description'       => 'Configure site-wide widgets used for Fivestar rating.',
     'page callback'     => 'drupal_get_form',
     'page arguments'    => array('fivestar_settings'),
-    'access callback'   => 'user_access',
     'access arguments'  => array('administer site configuration'),
     'type'              => MENU_NORMAL_ITEM,
     'file'              => 'fivestar_color.inc',
   );
   $items['fivestar/preview/color'] = array(
     'page callback'     => 'fivestar_preview_color',
-    'access callback'   => 'user_access',
     'access arguments'  => array('administer site configuration'),
     'type'              => MENU_CALLBACK,
     'file'              => 'fivestar_color.inc',
   );
   $items['fivestar/preview/node'] = array(
     'page callback'     => 'fivestar_preview',
-    'access callback'   => 'user_access',
     'access arguments'  => array('administer content types'),
     'type'              => MENU_CALLBACK,
   );
   $items['fivestar/vote'] = array(
     'page callback'     => 'fivestar_vote',
-    'access callback'   => 'user_access',
     'access arguments'  => array('rate content'),
     'type'              => MENU_CALLBACK,
   );
@@ -137,9 +133,9 @@ function fivestar_theme() {
 }
 
 /**
- * Implementation of hook_form_alter
- * Adds fivestar enaable and position to the node-type configuration form.
- * 
+ * Implementation of hook_form_alter().
+ *
+ * Adds fivestar enable and position to the node-type configuration form.
  */
 function fivestar_form_alter(&$form, &$form_state, $form_id) {
   if ($form_id == 'node_type_form' && isset($form['identity']['type'])) {
@@ -798,11 +794,11 @@ function fivestar_get_votes($type, $cid,
 }
 
 /**
- * Internal function to check that node-type accepts votes
- * 
+ * Internal function to check that node-type accepts votes.
+ *
  * @param text $type type of target (currently only node is supported)
  * @param text $id identifier within the type (in this case node-type)
- * 
+ *
  * @return boolean
  */
 function _fivestar_validate_target($type, $id) {
