[vhffs-dev] [2196] removed unneeded md5 hash web path computation

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


Revision: 2196
Author:   gradator
Date:     2012-06-22 00:49:10 +0200 (Fri, 22 Jun 2012)
Log Message:
-----------
removed unneeded md5 hash web path computation

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Services/Web.pm

Modified: trunk/vhffs-api/src/Vhffs/Services/Web.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Web.pm	2012-06-15 21:59:01 UTC (rev 2195)
+++ trunk/vhffs-api/src/Vhffs/Services/Web.pm	2012-06-21 22:49:10 UTC (rev 2196)
@@ -222,8 +222,6 @@
 =cut
 sub get_dir {
 	my $self = shift;
-	require Digest::MD5;
-	my $hash = Digest::MD5::md5_hex( $self->{'servername'} );
 	return $self->get_vhffs->get_config->get_datadir.'/web/'.$self->get_hash();
 }
 


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