aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-29 21:11:39 +0000
committerMario <mario@mariovavti.com>2024-02-29 21:11:39 +0000
commit4bbeb224f67848cbdd4b07ed4f90341e0a6460c9 (patch)
treee5175bdbb2e3610b545df6ca9650845aaee6f5e4 /include/channel.php
parent8435d9eb1305d9678ef730c5a4924769b830e7d2 (diff)
downloadvolse-hubzilla-4bbeb224f67848cbdd4b07ed4f90341e0a6460c9.tar.gz
volse-hubzilla-4bbeb224f67848cbdd4b07ed4f90341e0a6460c9.tar.bz2
volse-hubzilla-4bbeb224f67848cbdd4b07ed4f90341e0a6460c9.zip
more cleanup
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php
index b8affa3ca..a82794bfd 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -1771,6 +1771,7 @@ function advanced_profile() {
if(App::$profile['gender']) $profile['gender'] = array( t('Gender:'), App::$profile['gender'] );
$ob_hash = get_observer_hash();
+/* TODO: AS2 compatibility
if($ob_hash && perm_is_allowed(App::$profile['profile_uid'],$ob_hash,'post_like')) {
$profile['canlike'] = true;
$profile['likethis'] = t('Like this channel');
@@ -1790,7 +1791,7 @@ function advanced_profile() {
foreach($likers as $l)
$profile['likers'][] = array('name' => $l['xchan_name'],'photo' => zid($l['xchan_photo_s']), 'url' => zid($l['xchan_url']));
}
-
+*/
if((App::$profile['dob']) && (App::$profile['dob'] != '0000-00-00')) {
$val = '';