*/
use Friendica\App;
+use Friendica\Network\Probe;
-require_once('include/Scrape.php');
-require_once('include/Probe.php');
require_once 'include/enotify.php';
+require_once 'include/probe.php';
require_once 'include/group.php';
function dfrn_request_init(App $a) {
if (! x($parms,'photo')) {
notice( t('Warning: profile location has no profile photo.') . EOL );
}
- $invalid = Probe::valid_dfrn($parms);
+ $invalid = Probe::validDfrn($parms);
if ($invalid) {
notice( sprintf( tt("%d required parameter was not found at the given location",
"%d required parameters were not found at the given location",
$network = $data["network"];
// Canonicalise email-style profile locator
- $url = Probe::webfinger_dfrn($url,$hcard);
+ $url = Probe::webfingerDfrn($url,$hcard);
if (substr($url,0,5) === 'stat:') {
if (! x($parms,'photo')) {
notice( t('Warning: profile location has no profile photo.') . EOL );
}
- $invalid = Probe::valid_dfrn($parms);
+ $invalid = Probe::validDfrn($parms);
if ($invalid) {
notice( sprintf( tt("%d required parameter was not found at the given location",
"%d required parameters were not found at the given location",