Delete Inactive Users automatically Delete Inactive Users automatically
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Delete Inactive Users automatically

Started by scottking, May 28, 2006, 03:02:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scottking

I referred to the following post and get the error below. Can someone help assist. For now I have removed the suggested code.
http://forum.coppermine-gallery.net/index.php?topic=13372.0

db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_active = 'NO' AND user_regdate < NOW() - INTERVAL 24 HOUR");

I added the above before ?> in the init.inc.php page.

Fatal error: Call to undefined function: db_query() in /home/marghel/public_html/photos/include/init.inc.php on line 412

Thanks
Scott

Tranz


scottking