You are here

function xmlsitemap_user_xmlsitemap_index_links in XML sitemap 7.2

Same name and namespace in other branches
  1. 6.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 30
Default file for XML sitemap user.

Code

function xmlsitemap_user_xmlsitemap_index_links($limit) {
  $uids = 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", 0, $limit)
    ->fetchCol();
  xmlsitemap_user_xmlsitemap_process_user_links($uids);
}