diff options
Diffstat (limited to 'modules/poll')
-rw-r--r-- | modules/poll/poll.info | 2 | ||||
-rw-r--r-- | modules/poll/poll.module | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/modules/poll/poll.info b/modules/poll/poll.info index 2cface906..d3279f2e8 100644 --- a/modules/poll/poll.info +++ b/modules/poll/poll.info @@ -4,3 +4,5 @@ description = Allows your site to capture votes on different topics in the form package = Core - optional version = VERSION core = 7.x +files[] = poll.module +files[] = poll.pages.inc diff --git a/modules/poll/poll.module b/modules/poll/poll.module index c43fc61dd..2a1ab86a2 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -87,7 +87,6 @@ function poll_menu() { 'page callback' => 'poll_page', 'access arguments' => array('access content'), 'type' => MENU_SUGGESTED_ITEM, - 'file' => 'poll.pages.inc', ); $items['node/%node/votes'] = array( @@ -98,7 +97,6 @@ function poll_menu() { 'access arguments' => array(1, 'inspect all votes', FALSE), 'weight' => 3, 'type' => MENU_LOCAL_TASK, - 'file' => 'poll.pages.inc', ); $items['node/%node/results'] = array( @@ -109,7 +107,6 @@ function poll_menu() { 'access arguments' => array(1, 'access content', TRUE), 'weight' => 3, 'type' => MENU_LOCAL_TASK, - 'file' => 'poll.pages.inc', ); $items['poll/js'] = array( |