summaryrefslogtreecommitdiff
path: root/framework/DataAccess/TCreoleProvider.php
diff options
context:
space:
mode:
authorxue <>2006-03-06 05:03:44 +0000
committerxue <>2006-03-06 05:03:44 +0000
commit4a244c109126fcec5ef43b185225d094e166e29a (patch)
treec3c577270b2f6c66499f5e8296f8e46717d34200 /framework/DataAccess/TCreoleProvider.php
parentb423ccc70198d2a73f991fc5a55f089d9e195082 (diff)
small fixes to prepare for beta release
Diffstat (limited to 'framework/DataAccess/TCreoleProvider.php')
-rw-r--r--framework/DataAccess/TCreoleProvider.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/DataAccess/TCreoleProvider.php b/framework/DataAccess/TCreoleProvider.php
index 51b7013a..f4ccd4c2 100644
--- a/framework/DataAccess/TCreoleProvider.php
+++ b/framework/DataAccess/TCreoleProvider.php
@@ -1,7 +1,6 @@
<?php
Prado::using('System.DataAccess.TDatabaseProvider');
-Prado::using('System.DataAccess.TDatabaseException');
Prado::using('System.DataAccess.creole.*');
@@ -61,7 +60,7 @@ class TCreoleConnection extends TDbConnection
return $this->_connection->prepareStatement($statement);
}
- //public function execute($sql,
+ //public function execute($sql,
/**
* Opens a database connection with settings provided in the ConnectionString.
@@ -75,7 +74,7 @@ class TCreoleConnection extends TDbConnection
throw new TDbConnectionException('db_driver_required');
$class = 'System.DataAccess.creole.creole.Creole';
$creole = Prado::createComponent($class);
- $this->_connection = $creole->getConnection($connectionString);
+ $this->_connection = $creole->getConnection($connectionString);
}
return $this->_connection;
}