diff options
author | friendica <info@friendica.com> | 2012-12-26 03:49:50 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-26 03:49:50 -0800 |
commit | c8292b3cddf0a29236cb981111beb4587d7be411 (patch) | |
tree | d9e5ed5afbf5ca90d04325c70949ea436a40c578 /boot.php | |
parent | 1aeea64311d1ae104b8fe513bf13c6f7eeb4fa42 (diff) | |
download | volse-hubzilla-c8292b3cddf0a29236cb981111beb4587d7be411.tar.gz volse-hubzilla-c8292b3cddf0a29236cb981111beb4587d7be411.tar.bz2 volse-hubzilla-c8292b3cddf0a29236cb981111beb4587d7be411.zip |
remove the private keywords stuff to reduce directory and search complexity
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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', "<br />\r\n" ); +define ( 'EOL', '<br />' . "\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]; |