mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
[various] Remove redundant profile_uid field from profile query
This commit is contained in:
parent
f416f4d6a4
commit
bdfe575365
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ function friendheader_widget_size()
|
|||
|
||||
function friendheader_widget_content(&$a, $conf)
|
||||
{
|
||||
$r = q("SELECT `profile`.`uid` AS `profile_uid`, `profile`.* , `user`.* FROM `profile`
|
||||
$r = q("SELECT `profile`.* , `user`.* FROM `profile`
|
||||
LEFT JOIN `user` ON `profile`.`uid` = `user`.`uid`
|
||||
WHERE `user`.`uid` = %s LIMIT 1",
|
||||
intval($conf['uid'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue