summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-23 14:22:22 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-07-23 14:22:22 -0700
commit5f7fb994471e4326f6aea5e29157a6236de4001f (patch)
tree8b0a4e22e150646ebfaff85baea2471ce5a484e4 /classes/Notice.php
parent6467351e32d2fa3a838556725fbdaccfa907969d (diff)
change NOTICE_GATEWAY to Notice::GATEWAY so autoloading works
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 08125cf7b..4b9a866b0 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);