Move mod Contacts to /src/Module

This commit is contained in:
Jonny Tischbein
2018-10-11 23:14:12 +02:00
parent 735a5980bd
commit 80ea86113d
8 changed files with 1153 additions and 20 deletions
+2 -3
View File
@@ -18,8 +18,7 @@ use Friendica\Network\Probe;
use Friendica\Protocol\PortableContact;
use Friendica\Util\Network;
use Friendica\Util\Proxy as ProxyUtils;
require_once 'mod/contacts.php';
use Friendica\Module\Contacts;
function dirfind_init(App $a) {
@@ -211,7 +210,7 @@ function dirfind_content(App $a, $prefix = "") {
$contact = DBA::selectFirst('contact', [], ['id' => $jj->cid]);
if (DBA::isResult($contact)) {
$photo_menu = Contact::photoMenu($contact);
$details = _contact_detail_for_template($contact);
$details = Contacts::_contact_detail_for_template($contact);
$alt_text = $details['alt_text'];
} else {
$photo_menu = [];