X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FTicketSystem%2FRT_Internal.pm;h=8fce918e07705691008c51d0b5899181306d9d3d;hb=8e3dfb380406e145494a5fffa7a0e4aab7b38253;hp=0043811411c88accb54cd8d8ab82fb18b63cdb71;hpb=144aa1ef3dc3e0dbc2d32edf1dde1ad88da5afe0;p=freeside.git diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm index 004381141..8fce918e0 100644 --- a/FS/FS/TicketSystem/RT_Internal.pm +++ b/FS/FS/TicketSystem/RT_Internal.pm @@ -16,38 +16,13 @@ sub sql_num_customer_tickets { )"; } -sub num_customer_tickets { - my( $self, $custnum, $priority ) = ( shift, shift, shift ); - $self->SUPER::num_customer_tickets( $custnum, $priority, dbh ); -} - -sub customer_tickets { - my( $self, $custnum, $limit, $priority ) = ( shift, shift, shift, shift ); - $self->SUPER::customer_tickets( $custnum, $limit, $priority, dbh ); -} - -sub href_customer_tickets { - my $self = shift; - # well, 2 is wrong here but will have to do for now - baseurl().'rt/'. $self->_href_customer_tickets(@_); -} - -sub href_new_ticket { - my $self = shift; - # well, 2 is wrong here but will have to do for now - baseurl().'rt/'. $self->_href_new_ticket(@_); -} - -sub href_ticket { - my $self = shift; - # well, 2 is wrong here but will have to do for now - baseurl().'rt/'. $self->_href_ticket(@_); -} - sub baseurl { - - return popurl(2); - + #my $self = shift; + if ( $RT::URI::freeside::URL ) { + $RT::URI::freeside::URL. 'rt/'; + } else { + 'http://you_need_to_set_RT_URI_freeside_URL_in_SiteConfig.pm/'; + } } 1;