+ if (! $this->baseUrl) {
+ CRM_Core_Session::setStatus(
+ ts('Failed to determine URL for extension (%1). Please update <a href="%2">Resource URLs</a>.',
+ array(
+ 1 => $key,
+ 2 => CRM_Utils_System::url('civicrm/admin/setting/url', 'reset=1'),
+ )
+ )
+ );
+ }