X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FNotice.php;h=413d281f3767adf08f273cc9ffbc3c795984aa4e;hb=749d9bfbbf65d962804bea1fa510039da185179f;hp=101fadb6743ed8b5ca923801e85cf1b2c470ef0a;hpb=0a602725b1c49d246e77b24c723a65cdb0119e8e;p=quix0rs-gnu-social.git diff --git a/classes/Notice.php b/classes/Notice.php index 101fadb674..413d281f37 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);