From b8735f49117f6e03b9d611e98bb5d82a43d19f00 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 16 Mar 2011 22:54:57 -0400 Subject: [PATCH] add scope flags for Notice --- classes/Notice.php | 4 ++++ 1 file changed, 4 insertions(+) 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);