Remove dbesc() and dba_timer() function declarations

This commit is contained in:
Hypolite Petovan 2018-07-21 09:17:10 -04:00 committed by Hypolite Petovan
parent a6fb3568f9
commit 6141023640

View file

@ -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);
}