Code cleanup and enabling User object's etc. getUri()

This commit is contained in:
Mikael Nordfeldth
2014-04-28 14:08:42 +02:00
parent 0883f54f62
commit 5fd6053220
14 changed files with 93 additions and 84 deletions

View File

@@ -132,6 +132,11 @@ class User extends Managed_DataObject
return $this->_profile;
}
public function getUri()
{
return $this->uri;
}
function isSubscribed(Profile $other)
{
return $this->getProfile()->isSubscribed($other);