Found sample code from permission function was left in from onthisdate example code.

Is:

function gtranslate_perm() {
    return array('access onthisdate content');
} // function gtranslate_perm

Should be:

function gtranslate_perm() {
    return array('access gtranslate content');
} // function gtranslate_perm

Comments

apaderno’s picture

Issue summary: View changes
Priority: Minor » Normal
Status: Active » Closed (outdated)
Related issues: +#863468: The module define a permission it doesn't use

I am closing this issue, since Drupal 6 isn't supported anymore.