mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Repository
: Use correct name case for DateTime::getTimestamp()
in retrieveGeneralizedTime()
method
This commit is contained in:
parent
22c790ea48
commit
aa5db51e77
@ -941,7 +941,7 @@ abstract class Repository implements Selectable
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return ASN1::parseGeneralizedTime($value)->getTimeStamp();
|
return ASN1::parseGeneralizedTime($value)->getTimestamp();
|
||||||
} catch (InvalidArgumentException $e) {
|
} catch (InvalidArgumentException $e) {
|
||||||
Logger::debug(sprintf('Repository "%s": %s', $this->getName(), $e->getMessage()));
|
Logger::debug(sprintf('Repository "%s": %s', $this->getName(), $e->getMessage()));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user