working module

master
Marek Isalski 7 years ago
parent b5773ac00b
commit 3a7cf22641

@ -1,6 +1,7 @@
<? /* -*- php -*- */ <?php /* -*- php -*- */
function fulcrm_mailshot_menu() { function fulcrm_mailshot_menu() {
$items = array();
$items[ 'user/mailshots' ] = array( 'page callback' => 'fulcrm_mailshot_user_mailshots', $items[ 'user/mailshots' ] = array( 'page callback' => 'fulcrm_mailshot_user_mailshots',
'title' => 'Mailshot History', 'title' => 'Mailshot History',
'description' => 'View all previous mailshots.', 'description' => 'View all previous mailshots.',
@ -14,6 +15,7 @@ function fulcrm_mailshot_menu() {
'access callback' => 'user_access', 'access callback' => 'user_access',
'access arguments' => array('access content'), 'access arguments' => array('access content'),
); );
return $items;
} }
function fulcrm_mailshot_user_mailshots( $page = 1 ) { function fulcrm_mailshot_user_mailshots( $page = 1 ) {

Loading…
Cancel
Save