Remove references to deprecated profile.is-default and profile.profile-name fields
This commit is contained in:
@@ -26,8 +26,7 @@ function msearch_post(App $a)
|
||||
"SELECT COUNT(*) AS `total`
|
||||
FROM `profile`
|
||||
JOIN `user` ON `user`.`uid` = `profile`.`uid`
|
||||
WHERE `is-default` = 1
|
||||
AND `user`.`hidewall` = 0
|
||||
WHERE `user`.`hidewall` = 0
|
||||
AND MATCH(`pub_keywords`) AGAINST (?)",
|
||||
$search
|
||||
);
|
||||
@@ -42,8 +41,7 @@ function msearch_post(App $a)
|
||||
"SELECT `pub_keywords`, `username`, `nickname`, `user`.`uid`
|
||||
FROM `user`
|
||||
JOIN `profile` ON `user`.`uid` = `profile`.`uid`
|
||||
WHERE `is-default` = 1
|
||||
AND `user`.`hidewall` = 0
|
||||
WHERE `user`.`hidewall` = 0
|
||||
AND MATCH(`pub_keywords`) AGAINST (?)
|
||||
LIMIT ?, ?",
|
||||
$search,
|
||||
|
||||
Reference in New Issue
Block a user