function zoomapi_user_clean_account in Zoom API 7
Clean Drupal account of zoom api elements.
Parameters
object $account: The drupal account to clean.
1 call to zoomapi_user_clean_account()
- zoomapi_user_get in ./
zoomapi.module - Get Zoom User.
File
- ./
zoomapi.module, line 775 - Main file for the Zoom API module.
Code
function zoomapi_user_clean_account($account) {
unset($account->data['zoomapi_user_id']);
unset($account->data['zoomapi_user_email']);
user_save($account);
}