Remove references to ibase_* methods

This commit is contained in:
Timothy Warren 2012-03-19 12:20:51 -04:00
parent a119dc5082
commit 86dd9ddebe
4 changed files with 8 additions and 6 deletions

View File

@ -107,9 +107,9 @@ foreach(pdo_drivers() as $d)
}
// Load Firebird if there is support
if(function_exists('ibase_connect'))
if(function_exists('fbird_connect'))
{
require_once("{$path}firebird-ibase.php");
require_once("{$path}firebird.php");
require_once("{$path}firebird_sql.php");
}

View File

@ -480,7 +480,9 @@ class Firebird_Result {
// Let php do all the hard stuff in converting
// the array of arguments into a list of arguments
return new Firebird_Result(call_user_func_array('fbird_execute', $args));
$this->__construct(call_user_func_array('fbird_execute', $args));
return $this;
}
// --------------------------------------------------------------------------

View File

@ -328,7 +328,7 @@ class DB_Info_Widget extends GtkTable {
}
// Add firebird support, if exists
if(function_exists('ibase_connect') && ! in_array('firebird', $pdo_drivers))
if(function_exists('fbird_connect') && ! in_array('firebird', $pdo_drivers))
{
$drivers[] = "Firebird";
}

View File

@ -62,9 +62,9 @@ foreach(pdo_drivers() as $d)
}
// Load Firebird if there is support
if(function_exists('ibase_connect'))
if(function_exists('fbird_connect'))
{
require_once("{$src_path}firebird-ibase.php");
require_once("{$src_path}firebird.php");
require_once("{$src_path}firebird_sql.php");
require_once("{$test_path}firebird.php");
require_once("{$test_path}firebird-qb.php");