Use user_save() to set user status

coltrane - May 2, 2008 - 18:07
Project:Account Expiry
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Functions account_expiry_expire() and account_expiry_activate() should use user_save() to update the user table so that other modules that act upon a user being blocked and unblocked will fire.

Patch against latest 5.x-1.x-dev

#1

coltrane - May 2, 2008 - 18:08
Status:active» needs review

Patch attached. Thanks!

AttachmentSize
account_expiry-user_save-254009.patch 1 KB
 
 

Drupal is a registered trademark of Dries Buytaert.