13 foreach ($lists as $list) {
15 $schema += $list_schema;
40 foreach ($lists as $list) {
41 $rolename =
'Mailingling List Subscriber ' . $list->admin_name;
42 if (!user_role_load_by_name($rolename)) {
43 $role =
new stdClass();
44 $role->name = $rolename;
45 dpm($role,
'Make Role');
46 user_role_save($role);
_mailinglist_members_list_schema(MailinglistListInterface $list)
Builds the schema needed by mailinglist_members for a specific list.
mailinglist_members_modules_enabled($modules)
Implements hook_modules_enabled().
mailinglist_members_enable()
function mailinglist_members_update_7000() { }
mailinglist_list_load_all($show_disabled=TRUE)
Load all mailinglists.
mailinglist_members_schema()
Implements hook_schema().