...not necessarily something that extends Horde_Db_Adapter_Base
/**
*/
- public function __construct(Horde_Db_Adapter_Base $connection, $version = null)
+ public function __construct(Horde_Db_Adapter $connection, $version = null)
{
$this->_connection = $connection;
$this->version = $version;
*
* @throws Horde_Db_Migration_Exception
*/
- public function __construct(Horde_Db_Adapter_Base $connection,
+ public function __construct(Horde_Db_Adapter $connection,
Horde_Log_Logger $logger = null,
array $options = array())
{
*/
function buildClause($dbh, $lhs, $op, $rhs, $bind = false, $params = array())
{
- $type = $dbh instanceof Horde_Db_Adapter_Base ? Horde_String::lower($dbh->adapterName()) : $dbh->phptype;
+ $type = $dbh instanceof Horde_Db_Adapter ? Horde_String::lower($dbh->adapterName()) : $dbh->phptype;
switch ($op) {
case '|':