diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 00:39:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 00:39:25 -0300 |
commit | a86795fc1f96e12362fbce9f563f0a55aea3935f (patch) | |
tree | 4521d2fe30107d724aa07c2402e5ebb44bcfe294 | |
parent | d41fe9ee634dd5b16413b70d19cd5c28eb115083 (diff) | |
download | muamba-a86795fc1f96e12362fbce9f563f0a55aea3935f.tar.gz muamba-a86795fc1f96e12362fbce9f563f0a55aea3935f.tar.bz2 |
Implementing hook_user_delete() (2)
-rw-r--r-- | muamba.module | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/muamba.module b/muamba.module index c4d9c60..4e86abd 100644 --- a/muamba.module +++ b/muamba.module @@ -201,4 +201,8 @@ function muamba_user_delete($account) { db_delete('muamba') ->condition('uid', $account->uid) ->execute(); + + db_delete('muamba') + ->condition('owner', $account->uid) + ->execute(); } |