From c8292b3cddf0a29236cb981111beb4587d7be411 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 26 Dec 2012 03:49:50 -0800 Subject: remove the private keywords stuff to reduce directory and search complexity --- boot.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index d85309634..bc5c19dc1 100644 --- a/boot.php +++ b/boot.php @@ -16,9 +16,9 @@ require_once('include/features.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica Red'); define ( 'FRIENDICA_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'ZOT_REVISION', 1 ); -define ( 'DB_UPDATE_VERSION', 1008 ); +define ( 'DB_UPDATE_VERSION', 1009 ); -define ( 'EOL', "
\r\n" ); +define ( 'EOL', '
' . "\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); @@ -1261,11 +1261,11 @@ function profile_load(&$a, $nickname, $profile = 0) { // fetch user tags if this isn't the default profile if(! $r[0]['is_default']) { - $x = q("select `pub_keywords` from `profile` where uid = %d and `is_default` = 1 limit 1", + $x = q("select `keywords` from `profile` where uid = %d and `is_default` = 1 limit 1", intval($profile_uid) ); if($x && count($x)) - $r[0]['pub_keywords'] = $x[0]['pub_keywords']; + $r[0]['keywords'] = $x[0]['keywords']; } $a->profile = $r[0]; -- cgit v1.2.3