cleanup... Poll main & response events seem to sorta work over ostatus now
This commit is contained in:
@@ -141,6 +141,14 @@ class Poll_response extends Managed_DataObject
|
||||
return $this->getNotice()->bestUrl();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Poll
|
||||
*/
|
||||
function getPoll()
|
||||
{
|
||||
return Poll::staticGet('id', $this->poll_id);
|
||||
}
|
||||
/**
|
||||
* Save a new poll notice
|
||||
*
|
||||
|
Reference in New Issue
Block a user