Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
d8b9656d
Commit
d8b9656d
authored
Mar 05, 2008
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed superfluous code
parent
c5bc8641
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
Hydrator.php
lib/Doctrine/Hydrator.php
+0
-10
No files found.
lib/Doctrine/Hydrator.php
View file @
d8b9656d
...
...
@@ -291,7 +291,6 @@ class Doctrine_Hydrator extends Doctrine_Hydrator_Abstract
protected
function
_gatherRowData
(
&
$data
,
&
$cache
,
&
$id
,
&
$nonemptyComponents
)
{
$rowData
=
array
();
//$className = null;
foreach
(
$data
as
$key
=>
$value
)
{
// Parse each column name only once. Cache the results.
...
...
@@ -305,15 +304,6 @@ class Doctrine_Hydrator extends Doctrine_Hydrator_Abstract
$fieldName
=
$mapper
->
getFieldName
(
$columnName
);
$cache
[
$key
][
'fieldName'
]
=
$fieldName
;
// determine the class name
/*if ( ! $className) {
if ($classMetadata->isDiscriminatorColumn($columnName)) {
$className = $this->_getClassnameToReturn();
} else if ( ! $className) {
$className = $classMetadata->getClassName();
}
}*/
// cache identifier information
if
(
$classMetadata
->
isIdentifier
(
$fieldName
))
{
$cache
[
$key
][
'isIdentifier'
]
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment