summaryrefslogtreecommitdiff
path: root/include/db.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 17:00:24 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 17:00:35 +0400
commiteefaa2df381686f771396baae2d0ae71b345c2e7 (patch)
tree767f9d583e38a27c0150854fcb1b02c2cd507aa2 /include/db.php
parent6322ac79a020ab584d412d782d62b2ee77d7c6cf (diff)
remove db_connect, db_close; CLI fixes
Diffstat (limited to 'include/db.php')
-rw-r--r--include/db.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/db.php b/include/db.php
index 11e7312ad..72c78474a 100644
--- a/include/db.php
+++ b/include/db.php
@@ -1,9 +1,5 @@
<?php
-function db_connect($host, $user, $pass, $db) {
- return Db::get()->connect($host, $user, $pass, $db, 0);
-}
-
function db_escape_string( $s, $strip_tags = true) {
return Db::get()->escape_string($s, $strip_tags);
}
@@ -25,10 +21,6 @@ function db_fetch_result($result, $row, $param) {
return Db::get()->fetch_result($result, $row, $param);
}
-function db_close() {
- return Db::get()->close();
-}
-
function db_affected_rows( $result) {
return Db::get()->affected_rows($result);
}