Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Donations
Commits
d00f9768
Commit
d00f9768
authored
Oct 20, 2021
by
Michael Iseard
Browse files
Fix error where log showed entity not deleted when it was
parent
4d40798b
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Service/MapperService.php
View file @
d00f9768
...
...
@@ -363,6 +363,9 @@ class MapperService {
$this
->
get_cache_incrementer
(
true
);
$this
->
logger
->
info
(
'Record deleted.'
,
[
'table'
=>
$this
->
get_table_name
(),
$column
=>
$value
]
);
do_action
(
$this
->
get_table_name
(
false
)
.
'_delete'
,
$column
,
$value
);
}
else
{
$this
->
logger
->
warning
(
'Error deleting record.'
,
[
'table'
=>
$this
->
get_table_name
(),
$column
=>
$value
]
);
}
$this
->
logger
->
warning
(
'Error deleting record.'
,
[
'table'
=>
$this
->
get_table_name
(),
$column
=>
$value
]
);
...
...
Write
Preview
Supports
Markdown
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