- $nurl = normalise_link($this->getArgument(0));
- if (!dba::exists('contact', ['nurl' => $nurl, 'archive' => false])) {
- throw new \RuntimeException(L10n::t('Could not find any unarchived contact entry for this URL (%s)', $nurl));
+ $nurl = Strings::normaliseLink($this->getArgument(0));
+ if (!DBA::exists('contact', ['nurl' => $nurl, 'archive' => false])) {
+ throw new RuntimeException(L10n::t('Could not find any unarchived contact entry for this URL (%s)', $nurl));