[vhffs-dev] [486] Remplaced call to check_servername with Vhffs::Functions:: check_domain_name (the former no more exists) in create.

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


Revision: 486
Author:   beuss
Date:     2007-02-19 10:57:50 +0000 (Mon, 19 Feb 2007)

Log Message:
-----------
Remplaced call to check_servername with Vhffs::Functions::check_domain_name (the former no more exists) in create.

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Httpd.pm


Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Httpd.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Httpd.pm	2007-02-19 10:56:01 UTC (rev 485)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Httpd.pm	2007-02-19 10:57:50 UTC (rev 486)
@@ -93,7 +93,7 @@
     return old_create(@_) if($_[0]->isa('Vhffs::Services::Httpd'));
     my ($main, $servername, $description, $user, $group) = @_;
     return undef unless(defined($user) && defined($group));
-    return undef unless(check_servername($servername));
+    return undef unless(Vhffs::Functions::check_domain_name($servername));
 
     my $parent =  Vhffs::Object::create($main, $user->get_uid, $description);
     


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