From: Evan Prodromou Date: Thu, 17 Mar 2011 02:54:57 +0000 (-0400) Subject: add scope flags for Notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b8735f49117f6e03b9d611e98bb5d82a43d19f00;p=quix0rs-gnu-social.git add scope flags for Notice --- diff --git a/classes/Notice.php b/classes/Notice.php index 36686f6f2d..a4dcc10f5a 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -90,6 +90,10 @@ class Notice extends Memcached_DataObject const LOCAL_NONPUBLIC = -1; const GATEWAY = -2; + const SITE_SCOPE = 1; + const ADDRESSEE_SCOPE = 2; + const FOLLOWER_SCOPE = 4; + function getProfile() { $profile = Profile::staticGet('id', $this->profile_id);