remove deprecated $a argument from advanced_profile()

This commit is contained in:
zotlabs 2017-11-23 20:35:34 -08:00
parent a99ebd42ec
commit 3bb0efd2cb
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 '';