Browse Source

Remove dbesc() and dba_timer() function declarations

pull/5439/head
Hypolite Petovan 3 years ago
committed by Hypolite Petovan
parent
commit
6141023640
1 changed files with 0 additions and 12 deletions
  1. +0
    -12
      include/dba.php

+ 0
- 12
include/dba.php 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);
}

Loading…
Cancel
Save