Add uploader to photo view.

This commit is contained in:
Aaron committed 2017-11-09 17:00:35 +01:00
1 parent 5b7099e0e5
commit 09a662b4eb
2 files changed
+10 -1

No files matched your search

+5
View File
@@ -234,6 +234,11 @@ class Asset
return $this->id_asset;
}
public function getAuthor()
{
return Member::fromId($this->id_user_uploaded);
}
public function getDateCaptured()
{
return $this->date_captured;