Rename functions and calls

Rename functions and update calls
This commit is contained in:
Adam Magness 2018-01-15 09:50:06 -05:00
parent 0409aae719
commit 6cf6029ff5
10 changed files with 73 additions and 48 deletions

View file

@ -4,14 +4,13 @@
*/
use Friendica\App;
use Friendica\Content\ContactSelector;
use Friendica\Content\Widget;
use Friendica\Core\System;
use Friendica\Database\DBM;
use Friendica\Model\Contact;
use Friendica\Model\GContact;
use Friendica\Model\Profile;
require_once 'include/contact_widgets.php';
function suggest_init(App $a) {
if (! local_user()) {
return;
@ -51,10 +50,6 @@ function suggest_init(App $a) {
}
function suggest_content(App $a) {
require_once("mod/proxy.php");
@ -67,8 +62,8 @@ function suggest_content(App $a) {
$_SESSION['return_url'] = System::baseUrl() . '/' . $a->cmd;
$a->page['aside'] .= findpeople_widget();
$a->page['aside'] .= follow_widget();
$a->page['aside'] .= Widget::findPeople();
$a->page['aside'] .= Widget::follow();
$r = GContact::suggestionQuery(local_user());