mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:10:11 +00:00
Rename dbesc to DBA::escape
This commit is contained in:
parent
d3a598f589
commit
a6fb3568f9
79 changed files with 665 additions and 670 deletions
|
@ -322,9 +322,9 @@ function permissions_sql($owner_id, $remote_verified = false, $groups = null)
|
|||
)
|
||||
",
|
||||
intval($remote_user),
|
||||
dbesc($gs),
|
||||
DBA::escape($gs),
|
||||
intval($remote_user),
|
||||
dbesc($gs)
|
||||
DBA::escape($gs)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -385,9 +385,9 @@ function item_permissions_sql($owner_id, $remote_verified = false, $groups = nul
|
|||
AND ( `item`.allow_cid REGEXP '<%d>' OR `item`.allow_gid REGEXP '%s' OR ( `item`.allow_cid = '' AND `item`.allow_gid = '')))))
|
||||
",
|
||||
intval($remote_user),
|
||||
dbesc($gs),
|
||||
DBA::escape($gs),
|
||||
intval($remote_user),
|
||||
dbesc($gs)
|
||||
DBA::escape($gs)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue