1 | <?php |
||
2 | |||
3 | function db_escape_string($s, $strip_tags = true) { |
||
4 | return Db::get()->escape_string($s, $strip_tags); |
||
5 | } |
||
6 | |||
7 | function db_query($query, $die_on_error = true) { |
||
8 | return Db::get()->query($query, $die_on_error); |
||
9 | } |
||
10 | |||
11 | function db_fetch_assoc($result) { |
||
12 | return Db::get()->fetch_assoc($result); |
||
13 | } |
||
14 | |||
15 | |||
16 | function db_num_rows($result) { |
||
17 | return Db::get()->num_rows($result); |
||
18 | } |
||
19 | |||
20 | function db_fetch_result($result, $row, $param) { |
||
21 | return Db::get()->fetch_result($result, $row, $param); |
||
22 | } |
||
23 | |||
24 | function db_affected_rows($result) { |
||
25 | return Db::get()->affected_rows($result); |
||
26 | } |
||
27 | |||
28 | function db_last_error() { |
||
29 | return Db::get()->last_error(); |
||
30 | } |
||
31 | |||
32 | function db_last_query_error() { |
||
33 | return Db::get()->last_query_error(); |
||
34 | } |
||
35 | |||
36 | function db_quote($str) { |
||
37 | return Db::get()->quote($str); |
||
0 ignored issues
–
show
|
|||
38 | } |
||
39 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.