diff --git a/include/dba.php b/include/dba.php index bccd9792be..86ca2ac2de 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); -}