]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice_inbox.php
add a script to populate notice inboxes
[quix0rs-gnu-social.git] / classes / Notice_inbox.php
index 3d838a7b0802b7d222dee0e41c3fb1ce3c8408d3..cc482bd194fc07fe052350f5d2a6568db2367b4f 100644 (file)
@@ -1,8 +1,25 @@
 <?php
-/**
- * Table Definition for notice_inbox
+/*
+ * Laconica - a distributed open-source microblogging tool
+ * Copyright (C) 2008, Controlez-Vous, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-require_once 'classes/Memcached_DataObject';
+
+if (!defined('LACONICA')) { exit(1); }
+
+require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
 
 class Notice_inbox extends Memcached_DataObject 
 {
@@ -12,6 +29,7 @@ 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 */