diff --git a/advuser.module b/advuser.module index 66d138edbb51d38a58185be89bf298e6eaac71cd..c546d2562fbc96065d1e1db84616e91737ab0f9d 100644 --- a/advuser.module +++ b/advuser.module @@ -60,7 +60,7 @@ function advuser_init() { if (user_access('administer advuser') || user_access('receive email advuser') || user_access('send email advuser') || user_access('access advuser')) { drupal_add_css(drupal_get_path('module', 'advuser') . '/css/advuser.css', 'module'); - + // The persistent data for the module is stored in the session. $advuser = &$_SESSION['advuser']; if (!isset($advuser)) { @@ -102,7 +102,7 @@ conjunctors and another field type or the same field type.'); } break; case 'admin/people/advuser': { $output = '

'; - $output .= t('Advanced User module provides filtering of users with + $output .= t('Advanced User module provides filtering of users with persistent selections of users between mulitple pages of the users list. The module also adds an action for email to be sent to the selected user set as well as the normal actions already available.'); @@ -144,8 +144,8 @@ function advuser_menu() { $items['admin/people/advuser'] = array( 'title' => 'Advanced', 'description' => 'List, add, edit and email users.', - 'page callback' => 'advuser_admin', - 'page arguments' => array('list'), + 'page callback' => 'advuser_admin', + 'page arguments' => array('list'), 'access callback' => 'advuser_admin_access_', 'access arguments' => array('access advuser', 'administer users'), 'type' => MENU_LOCAL_TASK, @@ -368,9 +368,9 @@ function _advuser_receive_notification_by_role($op, $account) { } } -/** +/** * @ingroup advuser_hook - * hook_user implementation + * hook_user implementation * * On 'form' (indicates user edit form) save the account data in a static cache. * On 'insert' call the registration notification function. @@ -477,7 +477,7 @@ function advuser_profile_fields() { ->fields('pf') ->condition('fid', $fid, '=') ->execute(); - foreach($result as $ret[]); + foreach($result as $ret); } } } @@ -594,8 +594,8 @@ function advuser_build_filter_query($reset = FALSE) { foreach ($filters as $filter) { list($key, $op, $qop, $value) = array_values($filter); - // This checks to see if this permission filter is an enabled permission - // for the authenticated role. If so, then all users would be listed, and + // This checks to see if this permission filter is an enabled permission + // for the authenticated role. If so, then all users would be listed, and // we can skip adding it to the filter query. switch ($key) { case 'permission': { @@ -774,7 +774,7 @@ function advuser_filters() { // Each user defined profile field needs a unique table identifier for the // JOIN and WHERE clauses. // TODO: Make sure the $field->name contains valid information for a table - // identifier. This comment is to identify the source of a problem yet + // identifier. This comment is to identify the source of a problem yet // to be discovered. $pv = $field->name; $filters[$field->name] = array(