- normalise_link($url), $url, NETWORK_STATUSNET);
- $contact = dba::select('contact', array('url', 'network', 'addr', 'name'), $condition, array('limit' => 1));
+ normalise_link($url), $url, NETWORK_STATUSNET];
+ $contact = DBA::selectFirst('contact', ['url', 'network', 'addr', 'name'], $condition);