- if (forge_get_config('use_ssl')) {
- $proto = 'https';
- } else {
- $proto = 'http';
- }
- return "$proto://".forge_get_config('lists_host').'/mailman/listinfo/'.$this->getName();
+ return util_url_prefix() . forge_get_config('lists_host') .
+ '/mailman/listinfo/' . $this->getName();