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
84c62d8a
Commit
84c62d8a
authored
Jun 07, 2009
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Cleanup.
parent
6e5a5068
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
AnnotationDriver.php
lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php
+0
-7
No files found.
lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php
View file @
84c62d8a
...
...
@@ -130,13 +130,6 @@ class AnnotationDriver implements Driver
$mapping
[
'id'
]
=
true
;
}
if
(
$generatedValueAnnot
=
$property
->
getAnnotation
(
'GeneratedValue'
))
{
if
(
$generatedValueAnnot
->
strategy
==
'auto'
)
{
try
{
throw
new
\Exception
();
}
catch
(
\Exception
$e
)
{
var_dump
(
$e
->
getTraceAsString
());
}
}
$metadata
->
setIdGeneratorType
(
constant
(
'Doctrine\ORM\Mapping\ClassMetadata::GENERATOR_TYPE_'
.
$generatedValueAnnot
->
strategy
));
}
$metadata
->
mapField
(
$mapping
);
...
...
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