Remove references to deprecated profile.is-default and profile.profile-name fields
This commit is contained in:
parent
d9f7556b4a
commit
18cfd8dfaa
16 changed files with 28 additions and 46 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue