mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Rename Model\GlobalContact to Model\GContact
This commit is contained in:
parent
3772cf7544
commit
bc58e8d3be
23 changed files with 71 additions and 71 deletions
|
@ -5,7 +5,7 @@
|
|||
use Friendica\App;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GlobalContact;
|
||||
use Friendica\Model\GContact;
|
||||
|
||||
require_once 'include/contact_selectors.php';
|
||||
require_once 'mod/contacts.php';
|
||||
|
@ -85,9 +85,9 @@ function common_content(App $a) {
|
|||
}
|
||||
|
||||
if ($cid) {
|
||||
$t = GlobalContact::countCommonFriends($uid, $cid);
|
||||
$t = GContact::countCommonFriends($uid, $cid);
|
||||
} else {
|
||||
$t = GlobalContact::countCommonFriendsZcid($uid, $zcid);
|
||||
$t = GContact::countCommonFriendsZcid($uid, $zcid);
|
||||
}
|
||||
|
||||
if (count($t)) {
|
||||
|
@ -99,9 +99,9 @@ function common_content(App $a) {
|
|||
|
||||
|
||||
if ($cid) {
|
||||
$r = GlobalContact::commonFriends($uid, $cid, $a->pager['start'], $a->pager['itemspage']);
|
||||
$r = GContact::commonFriends($uid, $cid, $a->pager['start'], $a->pager['itemspage']);
|
||||
} else {
|
||||
$r = GlobalContact::commonFriendsZcid($uid, $zcid, $a->pager['start'], $a->pager['itemspage']);
|
||||
$r = GContact::commonFriendsZcid($uid, $zcid, $a->pager['start'], $a->pager['itemspage']);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue