CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Moved Servers & problem deleting users
Pages: [1]

Author Topic: Moved Servers & problem deleting users  (Read 1147 times)

New_User

  • Guest
Moved Servers & problem deleting users
April 29, 2009, 01:16:21 am
We're new to Drupal and CiviCRM and just had our site moved to a new server.  We are trying to manage our users through the Drupal side so that we only have to add and delete users once using Drupal and then would like the CiviCRM side to reflect those same changes. We use CiviCRM to display contact info of our users.  Adding people is fine; they all show up in the CiviCRM profiles.   But deleting users from Drupal does not delete them from CiviCRM.  Running synchronize users to contacts does not make the users deleted in Drupal disappear from the CiviCRM.  Any ideas on what the issue might be and how to fix this would be greatly appreciated.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Moved Servers & problem deleting users
April 29, 2009, 07:00:08 am

This is a feature :)

If you want to delete the contact when deleting a user, your best bet would be to implement the hook_user in your drupal module that does the needful

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

New_User

  • Guest
Re: Moved Servers & problem deleting users
April 29, 2009, 05:50:35 pm
Thanks.  Can you explain further what it means to implement a hook_user?  This is the description I found of it: http://api.drupal.org/api/function/hook_user/6 and I don't understand it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Moved Servers & problem deleting users

This forum was archived on 2017-11-26.