<?php
use Friendica\App;
+use Friendica\Core\System;
+use Friendica\Core\Worker;
require_once 'include/contact_widgets.php';
require_once 'include/probe.php';
}
// Add found profiles from the global directory to the local directory
- proc_run(PRIORITY_LOW, 'include/discover_poco.php', "dirsearch", urlencode($search));
+ Worker::add(PRIORITY_LOW, 'discover_poco', "dirsearch", urlencode($search));
} else {
$p = (($a->pager['page'] != 1) ? '&p=' . $a->pager['page'] : '');
$photo_menu = array();
}
} else {
- $connlnk = App::get_baseurl().'/follow/?url='.(($jj->connect) ? $jj->connect : $jj->url);
+ $connlnk = System::baseUrl().'/follow/?url='.(($jj->connect) ? $jj->connect : $jj->url);
$conntxt = t('Connect');
$photo_menu = array(
'profile' => array(t("View Profile"), zrl($jj->url)),