diff --git a/src/common/db_pdo.php b/src/common/db_pdo.php index 816f1f7..cdadf8f 100644 --- a/src/common/db_pdo.php +++ b/src/common/db_pdo.php @@ -134,13 +134,5 @@ abstract class DB_PDO extends PDO { * @return int */ abstract function num_rows(); - - /** - * Return the number of rows affected by the last query - * - * @return int - */ - abstract function affected_rows(); - } // End of db_pdo.php \ No newline at end of file diff --git a/src/databases/mysql.php b/src/databases/mysql.php index b86c4ba..edd06f6 100644 --- a/src/databases/mysql.php +++ b/src/databases/mysql.php @@ -69,16 +69,6 @@ class MySQL extends DB_PDO { return $res->fetchAll(PDO::FETCH_ASSOC); } - /** - * Return the number of rows affected by the previous query - * - * @return int - */ - function affected_rows() - { - // TODO: Implement - } - /** * Return the number of rows returned for a SELECT query * @@ -88,7 +78,6 @@ class MySQL extends DB_PDO { { // TODO: Implement } - } class MySQL_manip extends MySQL { @@ -97,4 +86,5 @@ class MySQL_manip extends MySQL { { parent::__construct($dsn, $user, $pass, $opt); } -} \ No newline at end of file +} +//End of mysql.php \ No newline at end of file diff --git a/src/databases/odbc.php b/src/databases/odbc.php index 3a2bdf7..f6fdee7 100644 --- a/src/databases/odbc.php +++ b/src/databases/odbc.php @@ -48,16 +48,6 @@ class ODBC extends DB_PDO { $this->query($sql); } - /** - * Return the number of rows affected by the previous query - * - * @return int - */ - function affected_rows() - { - // TODO: Implement - } - /** * Return the number of rows returned for a SELECT query * @@ -67,7 +57,5 @@ class ODBC extends DB_PDO { { // TODO: Implement } - } - // End of odbc.php \ No newline at end of file diff --git a/src/databases/pgsql.php b/src/databases/pgsql.php index 313bc78..e46c993 100644 --- a/src/databases/pgsql.php +++ b/src/databases/pgsql.php @@ -93,16 +93,6 @@ class pgSQL extends DB_PDO { return $views; } - /** - * Return the number of rows affected by the previous query - * - * @return int - */ - function affected_rows() - { - // TODO: Implement - } - /** * Return the number of rows returned for a SELECT query * @@ -112,7 +102,6 @@ class pgSQL extends DB_PDO { { // TODO: Implement } - } /** @@ -125,4 +114,5 @@ class pgSQL_manip extends pgSQL { parent::__construct($dsn, $username, $password, $options); } -} \ No newline at end of file +} +//End of pgsql.php \ No newline at end of file diff --git a/src/databases/sqlite.php b/src/databases/sqlite.php index dbbd4d3..09d1e4d 100644 --- a/src/databases/sqlite.php +++ b/src/databases/sqlite.php @@ -54,16 +54,6 @@ class SQLite extends DB_PDO { return $res->fetchAll(PDO::FETCH_ASSOC); } - /** - * Return the number of rows affected by the previous query - * - * @return int - */ - function affected_rows() - { - // TODO: Implement - } - /** * Return the number of rows returned for a SELECT query *