-sub num_customer_tickets {
- my( $self, $custnum, $priority ) = ( shift, shift, shift );
- $self->SUPER::num_customer_tickets( $custnum, $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 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/';
+ }