summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNate Mow2013-09-05 00:14:37 (GMT)
committer Nate Mow2013-09-05 00:14:37 (GMT)
commit91ae3b0283db2b82cc6f5fc856e27ca1702506a0 (patch)
treed936fa2d8abac20fef2118bda4d0d3bf8b085a3e
parent19bca83ade1ff51b3f41d856d3219b79b9c1c2be (diff)
Update per #1856666.
-rw-r--r--advuser.module20
1 files changed, 10 insertions, 10 deletions
diff --git a/advuser.module b/advuser.module
index 66d138e..c546d25 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 = '<p>';
- $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(