function xmlsitemap_restore_user in XML sitemap 6.2
Same name and namespace in other branches
- 7.2 xmlsitemap.module \xmlsitemap_restore_user()
Restore the user that was originally loaded.
Return value
Current user.
3 calls to xmlsitemap_restore_user()
- XMLSitemapUnitTest::testSwitchUser in ./
xmlsitemap.test - Tests for xmlsitemap_switch_user and xmlsitemap_restore_user().
- xmlsitemap_custom_edit_link_form_validate in xmlsitemap_custom/
xmlsitemap_custom.admin.inc - xmlsitemap_menu_xmlsitemap_process_menu_links in xmlsitemap_menu/
xmlsitemap_menu.module - Process menu sitemap links.
File
- ./
xmlsitemap.module, line 1262 - Main file for the xmlsitemap module.
Code
function xmlsitemap_restore_user() {
return xmlsitemap_switch_user();
}