added user export page for simplenews unsubscription
This commit is contained in:
@@ -22,6 +22,10 @@ function materio_user_permission() {
|
||||
'title' => t('access to online payment'),
|
||||
'description' => t('Access to online payment'),
|
||||
),
|
||||
'access to user export' => array(
|
||||
'title' => t('access to user export'),
|
||||
'description' => t('Access to user export'),
|
||||
),
|
||||
);
|
||||
|
||||
$simplenews_cats = simplenews_category_list();
|
||||
@@ -73,6 +77,13 @@ function materio_user_menu(){
|
||||
'access callback' => TRUE,
|
||||
);
|
||||
|
||||
$items['materio_user/export'] = $base+array(
|
||||
'title' => 'Materio base user export',
|
||||
'page callback' => 'materio_user_export',
|
||||
// 'page arguments' => array(),
|
||||
'access arguments' => array('access to user export'),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user