ViewPhoto: simplify filter verification

This commit is contained in:
2024-01-15 11:33:43 +01:00
parent 52472d8b58
commit ec2d702a0d
3 changed files with 9 additions and 6 deletions

View File

@@ -75,6 +75,11 @@ abstract class User
return $this->ip_address;
}
public function getSlug()
{
return $this->slug;
}
/**
* Returns whether user is logged in.
*/