GlobalContact created
Moved DirSearch and GlobalContact related functions to Friendica\Model namespace
This commit is contained in:
parent
5f25ef55d2
commit
47db624105
26 changed files with 2715 additions and 2610 deletions
|
|
@ -10,9 +10,10 @@
|
|||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Model\GlobalContact;
|
||||
|
||||
require_once("include/socgraph.php");
|
||||
require_once("include/Contact.php");
|
||||
require_once "include/socgraph.php";
|
||||
require_once "include/Contact.php";
|
||||
|
||||
function hovercard_init(App $a) {
|
||||
// Just for testing purposes
|
||||
|
|
@ -48,7 +49,7 @@ function hovercard_content() {
|
|||
}
|
||||
|
||||
// if it's the url containing https it should be converted to http
|
||||
$nurl = normalise_link(clean_contact_url($profileurl));
|
||||
$nurl = normalise_link(GlobalContact::cleanContactUrl($profileurl));
|
||||
if($nurl) {
|
||||
// Search for contact data
|
||||
$contact = get_contact_details_by_url($nurl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue