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
dcc2a54e
Commit
dcc2a54e
authored
Feb 19, 2008
by
jwage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reversed r3840. Broke tests.
parent
d5b8a6a7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Migration.php
lib/Doctrine/Builder/Migration.php
+2
-2
Export.php
lib/Doctrine/Export.php
+2
-2
Schema.php
lib/Doctrine/Export/Schema.php
+3
-3
No files found.
lib/Doctrine/Builder/Migration.php
View file @
dcc2a54e
...
@@ -157,9 +157,9 @@ END;
...
@@ -157,9 +157,9 @@ END;
{
{
if
(
$modelsPath
)
{
if
(
$modelsPath
)
{
$models
=
Doctrine
::
loadModels
(
$modelsPath
);
$models
=
Doctrine
::
loadModels
(
$modelsPath
);
}
}
else
{
$models
=
Doctrine
::
getLoadedModels
();
$models
=
Doctrine
::
getLoadedModels
();
}
$foreignKeys
=
array
();
$foreignKeys
=
array
();
...
...
lib/Doctrine/Export.php
View file @
dcc2a54e
...
@@ -1047,9 +1047,9 @@ class Doctrine_Export extends Doctrine_Connection_Module
...
@@ -1047,9 +1047,9 @@ class Doctrine_Export extends Doctrine_Connection_Module
{
{
if
(
$directory
!==
null
)
{
if
(
$directory
!==
null
)
{
$models
=
Doctrine
::
loadModels
(
$directory
);
$models
=
Doctrine
::
loadModels
(
$directory
);
}
}
else
{
$models
=
Doctrine
::
getLoadedModels
();
$models
=
Doctrine
::
getLoadedModels
();
}
$this
->
exportClasses
(
$models
);
$this
->
exportClasses
(
$models
);
}
}
...
...
lib/Doctrine/Export/Schema.php
View file @
dcc2a54e
...
@@ -45,10 +45,10 @@ class Doctrine_Export_Schema
...
@@ -45,10 +45,10 @@ class Doctrine_Export_Schema
public
function
buildSchema
(
$directory
=
null
,
$models
=
array
())
public
function
buildSchema
(
$directory
=
null
,
$models
=
array
())
{
{
if
(
$directory
)
{
if
(
$directory
)
{
Doctrine
::
loadModels
(
$directory
);
$loadedModels
=
Doctrine
::
loadModels
(
$directory
);
}
}
else
{
$loadedModels
=
Doctrine
::
getLoadedModels
();
$loadedModels
=
Doctrine
::
getLoadedModels
();
}
$array
=
array
();
$array
=
array
();
...
...
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