X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FTicketSystem%2FRT_Internal.pm;h=8fce918e07705691008c51d0b5899181306d9d3d;hb=a0290148dced03b17bd75d93e640e5ef5e8a28e3;hp=00398230f28bdbefac10f589adee8412c05771f6;hpb=8d4abaa99403699aa5b5f02e899d2ea33980f913;p=freeside.git diff --git a/FS/FS/TicketSystem/RT_Internal.pm b/FS/FS/TicketSystem/RT_Internal.pm index 00398230f..8fce918e0 100644 --- a/FS/FS/TicketSystem/RT_Internal.pm +++ b/FS/FS/TicketSystem/RT_Internal.pm @@ -16,32 +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 - popurl(2).'rt/'. $self->SUPER::href_customer_tickets(@_); -} - -sub href_new_ticket { - my $self = shift; - # well, 2 is wrong here but will have to do for now - popurl(2).'rt/'. $self->SUPER::href_new_ticket(@_); -} - -sub href_ticket { - my $self = shift; - # well, 2 is wrong here but will have to do for now - popurl(2).'rt/'. $self->SUPER::href_ticket(@_); +sub baseurl { + #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;