Revert "Move Objects to Model"
This commit is contained in:
parent
e437c74d0e
commit
5747cfc79c
77 changed files with 593 additions and 636 deletions
|
|
@ -5,8 +5,8 @@
|
|||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Model\GlobalContact;
|
||||
use Friendica\Object\Contact;
|
||||
|
||||
require_once 'include/contact_widgets.php';
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ function suggest_content(App $a) {
|
|||
$a->page['aside'] .= follow_widget();
|
||||
|
||||
|
||||
$r = GContact::suggestionQuery(local_user());
|
||||
$r = GlobalContact::suggestionQuery(local_user());
|
||||
|
||||
if (! DBM::is_result($r)) {
|
||||
$o .= t('No suggestions available. If this is a new site, please try again in 24 hours.');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue