X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FNotice_inbox.php;h=81ddb453859a4721b1c1b7531d618fdc84de263a;hb=8b9e559167e27c490648cc55c4f617c2e9122a18;hp=3d838a7b0802b7d222dee0e41c3fb1ce3c8408d3;hpb=a15034bea561c778207c899d5893dbf6bfc3b637;p=quix0rs-gnu-social.git diff --git a/classes/Notice_inbox.php b/classes/Notice_inbox.php index 3d838a7b08..81ddb45385 100644 --- a/classes/Notice_inbox.php +++ b/classes/Notice_inbox.php @@ -1,8 +1,25 @@ . */ -require_once 'classes/Memcached_DataObject'; + +if (!defined('LACONICA')) { exit(1); } + +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; class Notice_inbox extends Memcached_DataObject { @@ -12,10 +29,12 @@ class Notice_inbox extends Memcached_DataObject public $__table = 'notice_inbox'; // table name public $user_id; // int(4) primary_key not_null public $notice_id; // int(4) primary_key not_null + public $created; // datetime() not_null public $source; // tinyint(1) default_1 /* Static get */ - function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Notice_inbox',$k,$v); } + function staticGet($k,$v=null) + { return Memcached_DataObject::staticGet('Notice_inbox',$k,$v); } /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE