]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/GProbe.php
Rename dbesc to DBA::escape
[friendica.git] / src / Worker / GProbe.php
index 3471d9b992df2a2dc27b769d41acbc5fe50c5d9e..dfe309cf64c71c7e6b6a26c03542ecc46c74c75b 100644 (file)
@@ -20,7 +20,7 @@ class GProbe {
 
                $r = q(
                        "SELECT `id`, `url`, `network` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 1",
-                       dbesc(normalise_link($url))
+                       DBA::escape(normalise_link($url))
                );
 
                logger("gprobe start for ".normalise_link($url), LOGGER_DEBUG);
@@ -49,7 +49,7 @@ class GProbe {
 
                        $r = q(
                                "SELECT `id`, `url`, `network` FROM `gcontact` WHERE `nurl` = '%s' ORDER BY `id` LIMIT 1",
-                               dbesc(normalise_link($url))
+                               DBA::escape(normalise_link($url))
                        );
                }
                if (DBA::isResult($r)) {