Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sourcemlbundle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dj3c1t
sourcemlbundle
Commits
473ceabc
Commit
473ceabc
authored
Apr 18, 2020
by
dj3c1t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix SourceManager constructor
parent
29f57d1d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
SourceManager.php
Service/SourceManager.php
+3
-0
No files found.
Service/SourceManager.php
View file @
473ceabc
...
...
@@ -24,9 +24,12 @@ class SourceManager {
public
function
__construct
(
Container
$container
)
{
$this
->
container
=
$container
;
$em
=
$this
->
container
->
get
(
'doctrine'
)
->
getManager
();
$im
=
$this
->
container
->
get
(
'dj3c1t_app.install_manager'
);
try
{
if
(
$im
->
isInstalled
())
{
$this
->
sourceRepo
=
$em
->
getRepository
(
"Dj3c1tSourceMLBundle:Source"
);
}
}
catch
(
\Exception
$e
)
{
}
$this
->
refreshUser
();
...
...
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