aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Avatars/AvatarNode.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Avatars/AvatarNode.php')
-rw-r--r--apps/dav/lib/Avatars/AvatarNode.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/dav/lib/Avatars/AvatarNode.php b/apps/dav/lib/Avatars/AvatarNode.php
index 98ee67d3c78..b3a605fbb02 100644
--- a/apps/dav/lib/Avatars/AvatarNode.php
+++ b/apps/dav/lib/Avatars/AvatarNode.php
@@ -69,10 +69,6 @@ class AvatarNode extends File {
}
public function getLastModified() {
- $timestamp = $this->avatar->getFile($this->size)->getMTime();
- if (!empty($timestamp)) {
- return (int)$timestamp;
- }
- return $timestamp;
+ return $this->avatar->getFile($this->size)->getMTime();
}
}