Rename dbesc to DBA::escape

This commit is contained in:
Hypolite Petovan 2018-07-21 09:10:13 -04:00 committed by Hypolite Petovan
parent d3a598f589
commit a6fb3568f9
79 changed files with 665 additions and 670 deletions

View file

@ -26,7 +26,7 @@ function wallmessage_post(App $a) {
}
$r = q("select * from user where nickname = '%s' limit 1",
dbesc($recipient)
DBA::escape($recipient)
);
if (! DBA::isResult($r)) {
@ -88,7 +88,7 @@ function wallmessage_content(App $a) {
}
$r = q("select * from user where nickname = '%s' limit 1",
dbesc($recipient)
DBA::escape($recipient)
);
if (! DBA::isResult($r)) {