[vhffs-dev] [494] Removed no more used get_code method.

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


Revision: 494
Author:   beuss
Date:     2007-02-22 20:36:03 +0000 (Thu, 22 Feb 2007)

Log Message:
-----------
Removed no more used get_code method.

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Confirmation.pm


Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Confirmation.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Confirmation.pm	2007-02-22 20:07:18 UTC (rev 493)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Confirmation.pm	2007-02-22 20:36:03 UTC (rev 494)
@@ -64,24 +64,5 @@
     return (Digest::MD5::md5_hex($code) eq $hash);
 }
 
-#Get a confirmation code according to the cid
-sub get_code
-{
-	my 	$vhffs;
-	my 	$cid;
-	my	$query;
-	my	$request;
-	my	$result;
-
-	$vhffs		=	shift;
-	$cid		=	shift;
-	$query 		= 	"SELECT code from vhffs_confirmation WHERE cid=?";
-	$request 	= 	$vhffs->{'db'}->prepare( $query );
-	return undef if( $request->execute($cid) == 0 );
-
-	($result) 	= $request->fetchrow();
-	return $result;
-}
-
 1;
 


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