Skip to content

Commit

Permalink
Eliminate "Redefining already defined constructor" from last release.
Browse files Browse the repository at this point in the history
(No one will realistically be calling the constructors in object context.)
  • Loading branch information
convissor committed Nov 23, 2015
1 parent 7df34b9 commit 89745bb
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 150 deletions.
10 changes: 0 additions & 10 deletions DB/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,6 @@ class DB_common extends PEAR
// }}}
// {{{ DB_common

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_common()
{
$this->__construct();
}

/**
* This constructor calls <kbd>$this->PEAR('DB_Error')</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/dbase.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,6 @@ class DB_dbase extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_dbase()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/fbsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,6 @@ class DB_fbsql extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_fbsql()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/ibase.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,6 @@ class DB_ibase extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_ibase()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/ifx.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,16 +166,6 @@ class DB_ifx extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_ifx()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/msql.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,6 @@ class DB_msql extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_msql()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/mssql.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,6 @@ class DB_mssql extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_mssql()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,6 @@ class DB_mysql extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_mysql()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/mysqli.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,16 +223,6 @@ class DB_mysqli extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_mysqli()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/oci8.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,6 @@ class DB_oci8 extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_oci8()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/odbc.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,6 @@ class DB_odbc extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_odbc()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,6 @@ class DB_pgsql extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_pgsql()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/sqlite.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,6 @@ class DB_sqlite extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_sqlite()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down
10 changes: 0 additions & 10 deletions DB/storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,6 @@ class DB_storage extends PEAR
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_storage($table, $keycolumn, &$dbh, $validator = null)
{
$this->__construct($table, $keycolumn, $dbh, $validator);
}

/**
* Constructor
*
Expand Down
10 changes: 0 additions & 10 deletions DB/sybase.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,6 @@ class DB_sybase extends DB_common
// }}}
// {{{ constructor

/**
* Class named constructor in case someone is calling it directly
*
* @return void
*/
function DB_sybase()
{
$this->__construct();
}

/**
* This constructor calls <kbd>parent::__construct()</kbd>
*
Expand Down

0 comments on commit 89745bb

Please sign in to comment.