diff options
Diffstat (limited to 'lib/private/AppFramework/Utility/TimeFactory.php')
-rw-r--r-- | lib/private/AppFramework/Utility/TimeFactory.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/private/AppFramework/Utility/TimeFactory.php b/lib/private/AppFramework/Utility/TimeFactory.php index 0584fd05ef9..ed6c5f93213 100644 --- a/lib/private/AppFramework/Utility/TimeFactory.php +++ b/lib/private/AppFramework/Utility/TimeFactory.php @@ -24,22 +24,10 @@ class TimeFactory implements ITimeFactory { $this->timezone = new \DateTimeZone('UTC'); } - /** - * @return int the result of a call to time() - * @since 8.0.0 - * @deprecated 26.0.0 {@see ITimeFactory::now()} - */ public function getTime(): int { return time(); } - /** - * @param string $time - * @param \DateTimeZone $timezone - * @return \DateTime - * @since 15.0.0 - * @deprecated 26.0.0 {@see ITimeFactory::now()} - */ public function getDateTime(string $time = 'now', ?\DateTimeZone $timezone = null): \DateTime { return new \DateTime($time, $timezone); } |