Update functions and calls
Update function names and calls.
This commit is contained in:
parent
300b1b6af8
commit
a3ef9e35ec
14 changed files with 151 additions and 154 deletions
|
@ -3,6 +3,7 @@
|
|||
* @file mod/suggest.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Content\ContactSelector;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
|
@ -76,8 +77,6 @@ function suggest_content(App $a) {
|
|||
return $o;
|
||||
}
|
||||
|
||||
require_once 'include/contact_selectors.php';
|
||||
|
||||
foreach ($r as $rr) {
|
||||
|
||||
$connlnk = System::baseUrl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']);
|
||||
|
@ -106,7 +105,7 @@ function suggest_content(App $a) {
|
|||
'connlnk' => $connlnk,
|
||||
'photo_menu' => $photo_menu,
|
||||
'ignore' => t('Ignore/Hide'),
|
||||
'network' => network_to_name($rr['network'], $rr['url']),
|
||||
'network' => ContactSelector::networkToName($rr['network'], $rr['url']),
|
||||
'id' => ++$id,
|
||||
);
|
||||
$entries[] = $entry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue