From 15ec48062cdd55ae21d04983db210c9a0d2481c2 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 20 Dec 2010 19:59:44 +0000 Subject: #915174 by sdboyer, sun: Remove pointless files[] declarations on files that are not declaring classes. --- modules/contact/contact.info | 4 ---- modules/contact/contact.module | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'modules/contact') 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. -- cgit v1.2.3