1
1
Fork 0

Update function calls

update function calls to use profile class
This commit is contained in:
Adam Magness 2018-01-14 21:22:39 -05:00
commit 4fb2547df8
45 changed files with 360 additions and 294 deletions

View file

@ -8,15 +8,16 @@ use Friendica\Core\System;
use Friendica\Core\Worker;
use Friendica\Database\DBM;
use Friendica\Model\Photo;
use Friendica\Model\Profile;
use Friendica\Object\Image;
function profile_photo_init(App $a) {
function profile_photo_init(App $a)
{
if (! local_user()) {
return;
}
profile_load($a,$a->user['nickname']);
Profile::load($a, $a->user['nickname']);
}
function profile_photo_post(App $a) {