You are here

function linkchecker_revert_user in Link checker 7

Same name and namespace in other branches
  1. 6.2 linkchecker.module \linkchecker_revert_user()

Reverts to the previous user after impersonating.

Return value

object Current user.

See also

linkchecker_impersonate_user()

2 calls to linkchecker_revert_user()
LinkCheckerImpersonatingUserTestCase::testLinkCheckerImpersonateUser in ./linkchecker.test
_linkchecker_status_handling in ./linkchecker.module
Status code handling.

File

./linkchecker.module, line 2634
This module periodically check links in given node types, blocks etc.

Code

function linkchecker_revert_user() {
  return linkchecker_impersonate_user();
}