Add uploader to photo view.

This commit is contained in:
2016-09-04 21:34:08 +02:00
parent 5b7099e0e5
commit 09a662b4eb
2 changed files with 10 additions and 1 deletions

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;