[pve-devel] r5578 - pve-access-control/trunk/PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Feb 22 06:42:33 CET 2011


Author: dietmar
Date: 2011-02-22 06:42:33 +0100 (Tue, 22 Feb 2011)
New Revision: 5578

Modified:
   pve-access-control/trunk/PVE/AccessControl.pm
Log:
remove dead code


Modified: pve-access-control/trunk/PVE/AccessControl.pm
===================================================================
--- pve-access-control/trunk/PVE/AccessControl.pm	2011-02-22 05:36:13 UTC (rev 5577)
+++ pve-access-control/trunk/PVE/AccessControl.pm	2011-02-22 05:42:33 UTC (rev 5578)
@@ -983,15 +983,6 @@
     return $cfg;
 }
 
-sub parse_domain_name {
-    my ($domainname, $noerr) = @_;
-    if ($domainname !~ m/^[A-Za-z0-9][A-Za-z0-9.-]+\.[A-Za-z]{2,}$/) {
-        return undef if $noerr;
-        die "domain name '$domainname' is formed incorrectly\n";
-    }
-    return $domainname;
-}
-
 sub write_shadow_config {
     my ($filename, $cfg) = @_;
 



More information about the pve-devel mailing list