Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Øistein Kjos
phpipam-agent
Commits
f025ec6a
Commit
f025ec6a
authored
Oct 06, 2019
by
Gary Allan
Browse files
Bugfix: Update_subnet_discovery_scantime. Fixes #54
parent
56912109
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions/classes/class.phpipamAgent.php
View file @
f025ec6a
...
...
@@ -678,7 +678,7 @@ class phpipamAgent extends Common_functions {
* @return void
*/
private
function
update_subnet_discovery_scantime
(
$subnet_id
)
{
try
{
$this
->
Database
->
updateObject
(
"subnets"
,
array
(
"id"
=>
$id
,
"lastDiscovery"
=>
$this
->
nowdate
),
"id"
);
}
try
{
$this
->
Database
->
updateObject
(
"subnets"
,
array
(
"id"
=>
$
subnet_
id
,
"lastDiscovery"
=>
$this
->
nowdate
),
"id"
);
}
catch
(
Exception
$e
)
{}
}
...
...
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