public function hasPassword()
{
try {
- return !empty($this->getUser()->hasPassword());
+ return $this->getUser()->hasPassword();
} catch (NoSuchUserException $e) {
return false;
}
{
// XXX: not really a pkey, but should work
- $notice = Notice::pkeyGet(array('profile_id' => $this->id,
- 'repeat_of' => $notice->id));
+ $notice = Notice::pkeyGet(array('profile_id' => $this->getID(),
+ 'repeat_of' => $notice->getID(),
+ 'verb' => ActivityVerb::SHARE));
return !empty($notice);
}