aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-23 20:35:34 -0800
committerzotlabs <mike@macgirvin.com>2017-11-23 20:35:34 -0800
commit3bb0efd2cb393decf71fc717ef7e431a9f65d374 (patch)
tree0d3cea64577a889756cfd49a1b4d596512d02221
parenta99ebd42ec47ea531496f8ca5c07bf2868e21467 (diff)
downloadvolse-hubzilla-3bb0efd2cb393decf71fc717ef7e431a9f65d374.tar.gz
volse-hubzilla-3bb0efd2cb393decf71fc717ef7e431a9f65d374.tar.bz2
volse-hubzilla-3bb0efd2cb393decf71fc717ef7e431a9f65d374.zip
remove deprecated $a argument from advanced_profile()
-rw-r--r--Zotlabs/Module/Profile.php2
-rw-r--r--include/channel.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Profile.php b/Zotlabs/Module/Profile.php
index 43106e3af..4235f0b97 100644
--- a/Zotlabs/Module/Profile.php
+++ b/Zotlabs/Module/Profile.php
@@ -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;
diff --git a/include/channel.php b/include/channel.php
index 708e74176..16afd8209 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -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 '';