diff options
Diffstat (limited to 'lib/Utility/Time.php')
-rw-r--r-- | lib/Utility/Time.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Utility/Time.php b/lib/Utility/Time.php index 2823e85d8..739204f6d 100644 --- a/lib/Utility/Time.php +++ b/lib/Utility/Time.php @@ -13,7 +13,7 @@ namespace OCA\News\Utility; class Time { - public function getTime() + public function getTime() { return time(); } @@ -21,10 +21,9 @@ class Time /** * @return int the current unix time in miliseconds */ - public function getMicroTime() + public function getMicroTime() { list($millisecs, $secs) = explode(" ", microtime()); return $secs . substr($millisecs, 2, 6); } - } |