You are here

function gauth_user_services_list in Google Auth 7

Same name and namespace in other branches
  1. 7.2 gauth_user/gauth_user.admin.inc \gauth_user_services_list()

Menu callback; Listing of all current services accounts.

1 string reference to 'gauth_user_services_list'
gauth_user_menu in gauth_user/gauth_user.module
Implements hook_menu().

File

gauth_user/gauth_user.admin.inc, line 10
Administration pages for Google Auth User Services.

Code

function gauth_user_services_list() {
  $query = db_select('gauth_user_services', 'gu')
    ->extend('PagerDefault');
  $query
    ->fields('gu');
  $accounts = $query
    ->limit(25)
    ->execute();
  return theme('gauth_user_services_list', array(
    'accounts' => $accounts,
  ));
}