From dda4d689bbdd871f5bd8809ce5381aaee5004d5b Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 27 Dec 2012 23:33:37 -0800 Subject: This was bloody hard to sort out.... but now it's sorted and we can move forward again. Put back xtag for efficient keyword searching, use it in conjunction with xprof['keywords'] to avoid a SQL triple join and group_concat (which simply won't scale on a directory server), figured out how best to work timezone corrected birthdays into the protocol. The directory can even provide an age if one was provided to it. Both of these things need some more work, but we have the mechanisms and a plan how to do it right instead of "how the !@#$ are we going to do pull this off?" --- include/dir_fns.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/dir_fns.php') diff --git a/include/dir_fns.php b/include/dir_fns.php index 2c2694782..904d27189 100644 --- a/include/dir_fns.php +++ b/include/dir_fns.php @@ -46,6 +46,9 @@ function syncdirs($uid) { $r = q("delete from xprof where xprof_hash = '%s' limit 1", dbesc($hash) ); + $r = q("delete from xtag where xtag_hash = '%s' limit 1", + dbesc($hash) + ); } } -- cgit v1.2.3