You are here

function mail_edit_access in Mail Editor 6

Same name and namespace in other branches
  1. 7 mail_edit.module \mail_edit_access()

Checks the current user's access to Mail Edit's pages.

Return value

bool

1 string reference to 'mail_edit_access'
mail_edit_menu in ./mail_edit.module
Implementation of hook_menu().

File

./mail_edit.module, line 53
Main file for the Mail Editor module.

Code

function mail_edit_access() {
  return user_access('administer mail templates') && user_access('access administration pages');
}