mirror of
https://github.com/friendica/friendica
synced 2024-12-23 22:40:17 +00:00
We don't need to escape values anymore
This commit is contained in:
parent
2e0697c70e
commit
83ff2b0382
2 changed files with 4 additions and 4 deletions
|
@ -205,7 +205,7 @@ class ForumManager
|
||||||
AND NOT `contact`.`pending` AND NOT `contact`.`archive`
|
AND NOT `contact`.`pending` AND NOT `contact`.`archive`
|
||||||
AND `contact`.`success_update` > `failure_update`
|
AND `contact`.`success_update` > `failure_update`
|
||||||
GROUP BY `contact`.`id` ",
|
GROUP BY `contact`.`id` ",
|
||||||
intval(local_user())
|
local_user()
|
||||||
);
|
);
|
||||||
|
|
||||||
return DBA::toArray($stmtContacts);
|
return DBA::toArray($stmtContacts);
|
||||||
|
|
|
@ -580,9 +580,9 @@ class NotificationsManager extends BaseObject
|
||||||
LEFT JOIN `fcontact` ON `intro`.`fid` = `fcontact`.`id`
|
LEFT JOIN `fcontact` ON `intro`.`fid` = `fcontact`.`id`
|
||||||
WHERE `intro`.`uid` = ? $sql_extra AND `intro`.`blocked` = 0
|
WHERE `intro`.`uid` = ? $sql_extra AND `intro`.`blocked` = 0
|
||||||
LIMIT ?, ?",
|
LIMIT ?, ?",
|
||||||
intval($_SESSION['uid']),
|
$_SESSION['uid'],
|
||||||
intval($start),
|
$start,
|
||||||
intval($limit)
|
$limit
|
||||||
);
|
);
|
||||||
if (DBA::isResult($stmtNotifies)) {
|
if (DBA::isResult($stmtNotifies)) {
|
||||||
$notifs = $this->formatIntros(DBA::toArray($stmtNotifies));
|
$notifs = $this->formatIntros(DBA::toArray($stmtNotifies));
|
||||||
|
|
Loading…
Reference in a new issue