Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
enh(perf): set LDAP contactgroup synchronization every hour (#8070)
Browse files Browse the repository at this point in the history
* enh(perf): set LDAP contactgroup synchronization every hour
* set default value to variables Co-Authored-By: Kevin Duret <[email protected]>
* strict comparaison Co-Authored-By: Kevin Duret <[email protected]>
  • Loading branch information
sc979 committed Oct 31, 2019
1 parent bbfa2d2 commit 1a53b5d
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 172 deletions.
2 changes: 1 addition & 1 deletion cron/centAcl-Func.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function getFilteredPollers($host, $res_id)
}
}
} else {
# If result of query is empty and user have poller restriction, clean host table.
// If result of query is empty and user have poller restrictions, clean host table.
if ($isPollerFilter) {
$host = array();
}
Expand Down
Loading

0 comments on commit 1a53b5d

Please sign in to comment.