diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-20 19:59:44 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-20 19:59:44 +0000 |
commit | 15ec48062cdd55ae21d04983db210c9a0d2481c2 (patch) | |
tree | 8e118949fcd5f4b354a614162e5bbab2900d0307 /modules/contact | |
parent | 424ab5b68efaf90c274310a3cb1019dbd49296b1 (diff) | |
download | brdo-15ec48062cdd55ae21d04983db210c9a0d2481c2.tar.gz brdo-15ec48062cdd55ae21d04983db210c9a0d2481c2.tar.bz2 |
#915174 by sdboyer, sun: Remove pointless files[] declarations on files that are not declaring classes.
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. |