add scope flags for Notice
This commit is contained in:
parent
7f74aa6c20
commit
6cdbe47e72
|
@ -90,6 +90,10 @@ class Notice extends Memcached_DataObject
|
||||||
const LOCAL_NONPUBLIC = -1;
|
const LOCAL_NONPUBLIC = -1;
|
||||||
const GATEWAY = -2;
|
const GATEWAY = -2;
|
||||||
|
|
||||||
|
const SITE_SCOPE = 1;
|
||||||
|
const ADDRESSEE_SCOPE = 2;
|
||||||
|
const FOLLOWER_SCOPE = 4;
|
||||||
|
|
||||||
function getProfile()
|
function getProfile()
|
||||||
{
|
{
|
||||||
$profile = Profile::staticGet('id', $this->profile_id);
|
$profile = Profile::staticGet('id', $this->profile_id);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user