summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-08 22:48:07 +0200
committerDavid <ottodavid@gmx.net>2015-08-09 09:44:04 +0200
commit92ee7558c6b6dd2461b645cb1f19a81ef8c50db5 (patch)
treec0cad47bd972c6b2c2b38fb144a417268e1bbd5a /framework/Data/SqlMap
parent835e3f8c3a68b5a4577b0e1784f0e8eb1724a525 (diff)
Removed redundand Prado::using statements
Diffstat (limited to 'framework/Data/SqlMap')
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php1
-rw-r--r--framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php1
-rw-r--r--framework/Data/SqlMap/Statements/TPreparedCommand.php2
-rw-r--r--framework/Data/SqlMap/TSqlMapConfig.php2
-rw-r--r--framework/Data/SqlMap/TSqlMapGateway.php1
-rw-r--r--framework/Data/SqlMap/TSqlMapManager.php9
6 files changed, 0 insertions, 16 deletions
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php
index 765e0d9f..bc6f9f4b 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php
@@ -14,7 +14,6 @@ namespace Prado\Data\SqlMap\Configuration;
use Prado\Data\SqlMap\DataMapper\TSqlMapConfigurationException;
use Prado\Prado;
-Prado::using('System.Data.SqlMap.Configuration.TSqlMapStatement');
/**
* TSqlMapXmlConfig class file.
diff --git a/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php b/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php
index 248aaa9b..d54e41d7 100644
--- a/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php
+++ b/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php
@@ -16,7 +16,6 @@ use Prado\Collections\TPagedList;
use Prado\Data\SqlMap\Statements\IMappedStatement;
use Prado\Prado;
-Prado::using('System.Collections.TPagedList');
/**
* TSqlMapPagedList implements a list with paging functionality that retrieves
diff --git a/framework/Data/SqlMap/Statements/TPreparedCommand.php b/framework/Data/SqlMap/Statements/TPreparedCommand.php
index 9ddfc67e..cee5dd70 100644
--- a/framework/Data/SqlMap/Statements/TPreparedCommand.php
+++ b/framework/Data/SqlMap/Statements/TPreparedCommand.php
@@ -16,8 +16,6 @@ use Prado\Data\Common\TDbMetaData;
use Prado\Data\SqlMap\TSqlMapManager;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbMetaData');
-Prado::using('System.Data.Common.TDbCommandBuilder');
/**
* TPreparedCommand class.
diff --git a/framework/Data/SqlMap/TSqlMapConfig.php b/framework/Data/SqlMap/TSqlMapConfig.php
index 299c57ff..6f422291 100644
--- a/framework/Data/SqlMap/TSqlMapConfig.php
+++ b/framework/Data/SqlMap/TSqlMapConfig.php
@@ -17,7 +17,6 @@ use Prado\Prado;
use Prado\TApplicationMode;
use Prado\TPropertyValue;
-Prado::using('System.Data.TDataSourceConfig');
/**
* TSqlMapConfig module configuration class.
@@ -67,7 +66,6 @@ class TSqlMapConfig extends TDataSourceConfig
* @since 3.1.7
*/
public function getSqlMapManager() {
- Prado::using('System.Data.SqlMap.TSqlMapManager');
if(($manager = $this->loadCachedSqlMapManager())===null)
{
$manager = new TSqlMapManager($this->getDbConnection());
diff --git a/framework/Data/SqlMap/TSqlMapGateway.php b/framework/Data/SqlMap/TSqlMapGateway.php
index b52fda86..18927488 100644
--- a/framework/Data/SqlMap/TSqlMapGateway.php
+++ b/framework/Data/SqlMap/TSqlMapGateway.php
@@ -14,7 +14,6 @@ namespace Prado\Data\SqlMap;
use Prado\Data\SqlMap\DataMapper\TSqlMapPagedList;
use Prado\Prado;
-Prado::using('System.Data.SqlMap.TSqlMapManager');
/**
* DataMapper client, a fascade to provide access the rest of the DataMapper
diff --git a/framework/Data/SqlMap/TSqlMapManager.php b/framework/Data/SqlMap/TSqlMapManager.php
index e1331bef..f55afe14 100644
--- a/framework/Data/SqlMap/TSqlMapManager.php
+++ b/framework/Data/SqlMap/TSqlMapManager.php
@@ -24,15 +24,6 @@ use Prado\Data\SqlMap\DataMapper\TSqlMapUndefinedException;
use Prado\Data\SqlMap\Statements\IMappedStatement;
use Prado\Prado;
-Prado::using('System.Data.SqlMap.TSqlMapGateway');
-Prado::using('System.Data.SqlMap.DataMapper.TSqlMapException');
-Prado::using('System.Data.SqlMap.DataMapper.TSqlMapTypeHandlerRegistry');
-Prado::using('System.Data.SqlMap.DataMapper.TSqlMapCache');
-Prado::using('System.Data.SqlMap.Configuration.TSqlMapStatement');
-Prado::using('System.Data.SqlMap.Configuration.*');
-Prado::using('System.Data.SqlMap.DataMapper.*');
-Prado::using('System.Data.SqlMap.Statements.*');
-Prado::using('System.Caching.TCache');
/**