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
1 changed files with 0 additions and 12 deletions

View File

@ -2,14 +2,6 @@
use Friendica\Database\DBA; 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 * @brief execute SQL query with printf style args - deprecated
* *
@ -49,7 +41,3 @@ function q($sql) {
return $data; return $data;
} }
function dba_timer() {
return microtime(true);
}