add scope flags for Notice

This commit is contained in:
Evan Prodromou 2011-03-16 22:54:57 -04:00
parent ef638b0f22
commit b8735f4911

View File

@ -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);