1
0
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

@ -1,12 +1,14 @@
<?php
/**
* @file mod/profperm.php
*/
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Database\DBM;
function profperm_init(App $a) {
function profperm_init(App $a)
{
if (! local_user()) {
return;
}
@ -14,8 +16,7 @@ function profperm_init(App $a) {
$which = $a->user['nickname'];
$profile = $a->argv[1];
profile_load($a,$which,$profile);
Profile::load($a, $which, $profile);
}