[vhffs-dev] [974] the correct lock token is 'usergroup', not 'user'

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 974
Author:   gradator
Date:     2007-10-09 21:37:42 +0000 (Tue, 09 Oct 2007)

Log Message:
-----------
the correct lock token is 'usergroup', not 'user'

Modified Paths:
--------------
    trunk/vhffs-robots/src/user_cleanup.pl


Modified: trunk/vhffs-robots/src/user_cleanup.pl
===================================================================
--- trunk/vhffs-robots/src/user_cleanup.pl	2007-10-09 21:09:00 UTC (rev 973)
+++ trunk/vhffs-robots/src/user_cleanup.pl	2007-10-09 21:37:42 UTC (rev 974)
@@ -39,7 +39,7 @@
 my $vhffs = init Vhffs::Main;
 exit 1 unless $vhffs;
 
-Vhffs::Robots::lock( $vhffs , 'user' );
+Vhffs::Robots::lock( $vhffs , 'usergroup' );
 
 my $users = Vhffs::User::get_unused_accounts( $vhffs , 2592000 );   # 30 days
 foreach my $user ( @{$users} )
@@ -48,6 +48,6 @@
 	$user->pendingdeletion_withmail;
 }
 
-Vhffs::Robots::unlock( $vhffs , 'user' );
+Vhffs::Robots::unlock( $vhffs , 'usergroup' );
 
 exit 0;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/