function _authcache_contact in Authenticated User Page Caching (Authcache) 7
Same name and namespace in other branches
- 6 ajax/authcache.php \_authcache_contact()
Return default form values for site contact form
See also
File
- ajax/
authcache.php, line 229 - Authcache Ajax Callback (authcache.php)
Code
function _authcache_contact($vars) {
global $user;
return array(
'name' => $user->name,
'mail' => $user->mail,
);
}