You are here

function xmlsitemap_user_xmlsitemap_index_links in XML sitemap 6.2

Same name and namespace in other branches
  1. 7.2 xmlsitemap_user/xmlsitemap_user.module \xmlsitemap_user_xmlsitemap_index_links()

Implements hook_xmlsitemap_index_links().

1 call to xmlsitemap_user_xmlsitemap_index_links()
xmlsitemap_user_cron in xmlsitemap_user/xmlsitemap_user.module
Implements hook_cron().

File

xmlsitemap_user/xmlsitemap_user.module, line 53

Code

function xmlsitemap_user_xmlsitemap_index_links($limit) {
  $query = db_query_range("SELECT u.uid FROM {users} u LEFT JOIN {xmlsitemap} x ON x.type = 'user' AND u.uid = x.id WHERE x.id IS NULL AND u.uid > 0 ORDER BY u.uid DESC", array(), 0, $limit);
  $uids = xmlsitemap_db_fetch_col($query);
  xmlsitemap_user_xmlsitemap_process_user_links($uids);
}