From 6141023640df2e84c55b179404b77ab2d8cd183c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 21 Jul 2018 09:17:10 -0400 Subject: [PATCH] Remove dbesc() and dba_timer() function declarations --- include/dba.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/dba.php b/include/dba.php index bccd9792b..86ca2ac2d 100644 --- a/include/dba.php +++ b/include/dba.php @@ -2,14 +2,6 @@ use Friendica\Database\DBA; -function dbesc($str) { - if (DBA::$connected) { - return(DBA::escape($str)); - } else { - return(str_replace("'","\\'",$str)); - } -} - /** * @brief execute SQL query with printf style args - deprecated * @@ -49,7 +41,3 @@ function q($sql) { return $data; } - -function dba_timer() { - return microtime(true); -}