a simple porting omission of hook_perm it seems.

Comments

geek-merlin’s picture

noahlively’s picture

Needs to be hook_permission() in drupal 7.

/**
 * Implements hook_permission().
 */
function beautytips_manager_permission() {
  return array(
      'use Javascript for custom beautytip display' => array(
        'title' => t('use Javascript for custom beautytip display'),  
      ),
  );
}

stephenh’s picture

Status: Needs review » Fixed

I switched out the hook_perm() instance with hook_permission(), so you should be good to go with this. Let me know if you encounter any further issues.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.