diff options
author | friendica <info@friendica.com> | 2013-07-03 03:19:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-03 03:19:58 -0700 |
commit | 064237f0cbdbd08635f9c970b3e5b3f644be793d (patch) | |
tree | c321d93bcd32725cd11fc17ac052c31d9236f12e /mod/profile.php | |
parent | 765911172ee7e7290cae7a09265b532a5bc35c95 (diff) | |
download | volse-hubzilla-064237f0cbdbd08635f9c970b3e5b3f644be793d.tar.gz volse-hubzilla-064237f0cbdbd08635f9c970b3e5b3f644be793d.tar.bz2 volse-hubzilla-064237f0cbdbd08635f9c970b3e5b3f644be793d.zip |
remove debug info - mop up and go home
Diffstat (limited to 'mod/profile.php')
-rw-r--r-- | mod/profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php index c4c0fc35b..d59602ba0 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -12,7 +12,7 @@ function profile_init(&$a) { $profile = ''; $channel = $a->get_channel(); -dbg(1); + if((local_user()) && (argc() > 2) && (argv(2) === 'view')) { $which = $channel['channel_address']; $profile = argv(1); @@ -38,7 +38,7 @@ dbg(1); // $channel_display = get_pconfig($a->profile['profile_uid'],'system','channel_format'); // if(! $channel_display) profile_load($a,$which,$profile); -dbg(0); + } |