diff options
Diffstat (limited to 'modules/contact')
-rw-r--r-- | modules/contact/contact.info | 4 | ||||
-rw-r--r-- | modules/contact/contact.module | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/modules/contact/contact.info b/modules/contact/contact.info index a2f7f4c52..adefb112a 100644 --- a/modules/contact/contact.info +++ b/modules/contact/contact.info @@ -4,9 +4,5 @@ description = Enables the use of both personal and site-wide contact forms. package = Core version = VERSION core = 7.x -files[] = contact.module -files[] = contact.admin.inc -files[] = contact.pages.inc -files[] = contact.install files[] = contact.test configure = admin/structure/contact diff --git a/modules/contact/contact.module b/modules/contact/contact.module index 0dcf67d86..d06b90d8b 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -116,7 +116,7 @@ function contact_menu() { * TRUE if the current user has access to the requested user's contact form, * or FALSE otherwise. */ -function _contact_personal_tab_access(stdClass $account) { +function _contact_personal_tab_access($account) { global $user; // Anonymous users cannot have contact forms. |