Remove dbesc() and dba_timer() function declarations
This commit is contained in:
parent
a6fb3568f9
commit
6141023640
1 changed files with 0 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue