summaryrefslogtreecommitdiff
path: root/classes/Db/Interface.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-15 19:54:18 +0400
committerAndrew Dolgov <[email protected]>2013-03-15 19:54:18 +0400
commit8c0496f74c60e47d9e2f87bb107d79b99c0070aa (patch)
tree4261c954aebeb4176074c8afc2f40b362ba56b15 /classes/Db/Interface.php
parenta48d8533bf6a353972248720cf19ffb5ba55041f (diff)
Revert "Rewrote database support to classes, Fixed strict warning in sanitizedummy.php"
This reverts commit 65d0cc64a2ca1ce259fbba501b13deaf1870e540.
Diffstat (limited to 'classes/Db/Interface.php')
-rw-r--r--classes/Db/Interface.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/classes/Db/Interface.php b/classes/Db/Interface.php
deleted file mode 100644
index c5bfad56f..000000000
--- a/classes/Db/Interface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-interface Db_Interface
-{
- public function connect($host, $user, $pass, $db);
- public function getLink();
- public function init();
- public function escape_string($s, $strip_tags = true);
- public function query($query, $die_on_error = true);
- public function fetch_assoc($result);
- public function num_rows($result);
- public function fetch_result($result, $row, $param);
- public function unescape_string($str);
- public function close();
- public function affected_rows($result);
- public function last_error();
- public function quote($str);
-}