mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
Renaming functions and class
This commit is contained in:
parent
93ab82b7f0
commit
cdbddd0103
8 changed files with 84 additions and 1212 deletions
|
@ -8,9 +8,8 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Module\Contacts;
|
||||
use Friendica\Model;
|
||||
use Friendica\Module\Contact;
|
||||
|
||||
require_once 'mod/contacts.php';
|
||||
|
||||
|
@ -83,7 +82,7 @@ function crepair_post(App $a)
|
|||
if ($photo) {
|
||||
logger('mod-crepair: updating photo from ' . $photo);
|
||||
|
||||
Contact::updateAvatar($photo, local_user(), $contact['id']);
|
||||
Model\Contact::updateAvatar($photo, local_user(), $contact['id']);
|
||||
}
|
||||
|
||||
if ($r) {
|
||||
|
@ -136,7 +135,7 @@ function crepair_content(App $a)
|
|||
|
||||
$update_profile = in_array($contact['network'], [Protocol::DFRN, Protocol::DIASPORA, Protocol::OSTATUS]);
|
||||
|
||||
$tab_str = Contacts::contacts_tab($a, $contact, 5);
|
||||
$tab_str = Contact::getTabsHTML($a, $contact, 5);
|
||||
|
||||
$tpl = get_markup_template('crepair.tpl');
|
||||
$o = replace_macros($tpl, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue