]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add scope flags for Notice
authorEvan Prodromou <evan@status.net>
Thu, 17 Mar 2011 02:54:57 +0000 (22:54 -0400)
committerEvan Prodromou <evan@status.net>
Thu, 17 Mar 2011 16:16:09 +0000 (12:16 -0400)
classes/Notice.php

index 36686f6f2de9cdff5d034694142f1126f31db722..a4dcc10f5aab265c1d63eafd77d59c370a135d78 100644 (file)
@@ -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);