Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Helmo
ISPConfig 3
Commits
a122f6ee
Commit
a122f6ee
authored
May 24, 2019
by
Florian Schaal
Browse files
datalog-viewer: show parent web-site for deleted cron-jobs, too
parent
46b74480
Changes
1
Show whitespace changes
Inline
Side-by-side
interface/web/monitor/dataloghistory_view.php
View file @
a122f6ee
...
...
@@ -61,7 +61,7 @@ if(!$data = unserialize(stripslashes($record['data']))) {
$data
=
unserialize
(
$record
[
'data'
]);
}
$out
=
describe
(
$record
[
'dbtable'
],
$data
,
$out
);
$out
=
describe
(
$record
[
'dbtable'
],
$data
,
$out
,
$record
[
'action'
]
);
switch
(
$record
[
'action'
])
{
case
'i'
:
...
...
@@ -136,7 +136,8 @@ function describe($dbtable, $data, $out) {
$check
=
'username'
;
break
;
case
'cron'
:
$temp
=
$app
->
db
->
queryOneRecord
(
"SELECT domain FROM web_domain WHERE domain_id = ?"
,
$data
[
'new'
][
'parent_domain_id'
]);
$where
=
@
(
$action
==
'd'
)
?
$data
[
'old'
][
'parent_domain_id'
]
:
$data
[
'new'
][
'parent_domain_id'
];
$temp
=
$app
->
db
->
queryOneRecord
(
"SELECT domain FROM web_domain WHERE domain_id = ?"
,
$where
);
$out
[
'describe_data'
]
=
$temp
[
'domain'
];
break
;
case
'directive_snippets'
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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