Removed re-declared PDO function

This commit is contained in:
Timothy Warren 2012-02-06 17:39:53 -05:00
parent a5dea630a9
commit fb1e4e0a03
5 changed files with 4 additions and 54 deletions

View File

@ -134,13 +134,5 @@ abstract class DB_PDO extends PDO {
* @return int * @return int
*/ */
abstract function num_rows(); 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 // End of db_pdo.php

View File

@ -69,16 +69,6 @@ class MySQL extends DB_PDO {
return $res->fetchAll(PDO::FETCH_ASSOC); 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 * Return the number of rows returned for a SELECT query
* *
@ -88,7 +78,6 @@ class MySQL extends DB_PDO {
{ {
// TODO: Implement // TODO: Implement
} }
} }
class MySQL_manip extends MySQL { class MySQL_manip extends MySQL {
@ -97,4 +86,5 @@ class MySQL_manip extends MySQL {
{ {
parent::__construct($dsn, $user, $pass, $opt); parent::__construct($dsn, $user, $pass, $opt);
} }
} }
//End of mysql.php

View File

@ -48,16 +48,6 @@ class ODBC extends DB_PDO {
$this->query($sql); $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 * Return the number of rows returned for a SELECT query
* *
@ -67,7 +57,5 @@ class ODBC extends DB_PDO {
{ {
// TODO: Implement // TODO: Implement
} }
} }
// End of odbc.php // End of odbc.php

View File

@ -93,16 +93,6 @@ class pgSQL extends DB_PDO {
return $views; 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 * Return the number of rows returned for a SELECT query
* *
@ -112,7 +102,6 @@ class pgSQL extends DB_PDO {
{ {
// TODO: Implement // TODO: Implement
} }
} }
/** /**
@ -125,4 +114,5 @@ class pgSQL_manip extends pgSQL {
parent::__construct($dsn, $username, $password, $options); parent::__construct($dsn, $username, $password, $options);
} }
} }
//End of pgsql.php

View File

@ -54,16 +54,6 @@ class SQLite extends DB_PDO {
return $res->fetchAll(PDO::FETCH_ASSOC); 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 * Return the number of rows returned for a SELECT query
* *