diff options
author | friendica <info@friendica.com> | 2013-11-12 18:27:36 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-12 18:27:36 -0800 |
commit | b26989bb65615f7827047f87b3c4490f45b1f3e1 (patch) | |
tree | 88ca61f42dcafb730f43462bcb43ee514be802a6 /boot.php | |
parent | 061b438f97e40baf03cc449eac2aa4f1de33b60b (diff) | |
download | volse-hubzilla-b26989bb65615f7827047f87b3c4490f45b1f3e1.tar.gz volse-hubzilla-b26989bb65615f7827047f87b3c4490f45b1f3e1.tar.bz2 volse-hubzilla-b26989bb65615f7827047f87b3c4490f45b1f3e1.zip |
removeme sort of works for a single channel - lots of loose ends to deal with but it's a start
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1632,8 +1632,10 @@ function profile_load(&$a, $nickname, $profile = '') { if(! $r) { $r = q("SELECT profile.uid AS profile_uid, profile.*, channel.* FROM profile LEFT JOIN channel ON profile.uid = channel.channel_id - WHERE channel.channel_address = '%s' AND profile.is_default = 1 LIMIT 1", - dbesc($nickname) + WHERE channel.channel_address = '%s' and not ( channel_pageflags & %d ) + AND profile.is_default = 1 LIMIT 1", + dbesc($nickname), + intval(PAGE_REMOVED) ); } |