remove deprecated $a argument from advanced_profile()
This commit is contained in:
parent
a99ebd42ec
commit
3bb0efd2cb
@ -109,7 +109,7 @@ class Profile extends \Zotlabs\Web\Controller {
|
||||
'title' => 'oembed'
|
||||
]);
|
||||
|
||||
$o .= advanced_profile($a);
|
||||
$o .= advanced_profile();
|
||||
call_hooks('profile_advanced',$o);
|
||||
return $o;
|
||||
|
||||
|
@ -1490,7 +1490,7 @@ function gender_icon($gender) {
|
||||
}
|
||||
|
||||
|
||||
function advanced_profile(&$a) {
|
||||
function advanced_profile() {
|
||||
require_once('include/text.php');
|
||||
if(! perm_is_allowed(App::$profile['profile_uid'],get_observer_hash(),'view_profile'))
|
||||
return '';
|
||||
|
Reference in New Issue
Block a user