diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-07-24 15:06:07 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-07-24 15:06:07 +0000 |
commit | bb2186527a138086efbffc56452bd29a9f06e643 (patch) | |
tree | 823b2aeff5b47de5ee1406658b0a6528db4e26d8 /classes/Notice.php | |
parent | 8d2aeb7082cca4a19b3700b62cae77cf50260217 (diff) | |
parent | a3a5d23c54bfd2207728a957f370fc83ebfc4c65 (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 7f002d838..c2770edbe 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -32,7 +32,6 @@ define('NOTICE_CACHE_WINDOW', 61); define('NOTICE_LOCAL_PUBLIC', 1); define('NOTICE_REMOTE_OMB', 0); define('NOTICE_LOCAL_NONPUBLIC', -1); -define('NOTICE_GATEWAY', -2); define('MAX_BOXCARS', 128); @@ -63,6 +62,8 @@ class Notice extends Memcached_DataObject /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE + const GATEWAY = -2; + function getProfile() { return Profile::staticGet('id', $this->profile_id); |