X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_www.pm;h=ed079f80b01bcaa40eb0afc4a624a7daa96f657a;hp=7e02d818a97b41b19eb6fe6a98ef53ca9753ca48;hb=3adb46fccf9f631e188ea5383bd147b340477639;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c diff --git a/FS/FS/svc_www.pm b/FS/FS/svc_www.pm index 7e02d818a..ed079f80b 100644 --- a/FS/FS/svc_www.pm +++ b/FS/FS/svc_www.pm @@ -1,7 +1,8 @@ package FS::svc_www; +use base qw(FS::svc_Common); use strict; -use vars qw(@ISA $conf $apacheip); +use vars qw($conf $apacheip); #use FS::Record qw( qsearch qsearchs ); use FS::Record qw( qsearchs dbh ); use FS::svc_Common; @@ -10,8 +11,6 @@ use FS::domain_record; use FS::svc_acct; use FS::svc_domain; -@ISA = qw( FS::svc_Common ); - #ask FS::UID to run this stuff for us later $FS::UID::callback{'FS::svc_www'} = sub { $conf = new FS::Conf; @@ -163,15 +162,15 @@ returns the error, otherwise returns false. =cut -sub replace { - my ( $new, $old ) = ( shift, shift ); - my $error; - - $error = $new->SUPER::replace($old, @_); - return $error if $error; - - ''; -} +#sub replace { +# my ( $new, $old ) = ( shift, shift ); +# my $error; +# +# $error = $new->SUPER::replace($old, @_); +# return $error if $error; +# +# ''; +#} =item suspend @@ -252,13 +251,6 @@ sub check { Returns the FS::domain_record record for this web virtual host's zone (see L). -=cut - -sub domain_record { - my $self = shift; - qsearchs('domain_record', { 'recnum' => $self->recnum } ); -} - =item svc_acct Returns the FS::svc_acct record for this web virtual host's owner (see