You are here

function elasticsearch_connector_statistics_user_delete in Elasticsearch Connector 7.2

Same name and namespace in other branches
  1. 7.5 modules/elasticsearch_connector_statistics/elasticsearch_connector_statistics.module \elasticsearch_connector_statistics_user_delete()
  2. 7 modules/elasticsearch_connector_statistics/elasticsearch_connector_statistics.module \elasticsearch_connector_statistics_user_delete()

Implements hook_user_delete().

File

modules/elasticsearch_connector_statistics/elasticsearch_connector_statistics.module, line 177
Logs and displays access statistics for a site.

Code

function elasticsearch_connector_statistics_user_delete($account) {

  // TODO: Think of removing the logs if we delete an user.
  // It is a philosophy question because if delete a user this doesn't mean
  // that we need to remove the statistics for this user also.
}