From db53cc800f5f5ffffdd52496b6dc71e36ea1a635 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 16 Jul 2009 00:40:45 -0400 Subject: add a deleted_notice table --- classes/Deleted_notice.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 classes/Deleted_notice.php (limited to 'classes/Deleted_notice.php') diff --git a/classes/Deleted_notice.php b/classes/Deleted_notice.php new file mode 100755 index 000000000..474d0b6f4 --- /dev/null +++ b/classes/Deleted_notice.php @@ -0,0 +1,44 @@ +. + */ + +if (!defined('LACONICA')) { exit(1); } + +/** + * Table Definition for notice + */ +require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; + +class Deleted_notice extends Memcached_DataObject +{ + ###START_AUTOCODE + /* the code below is auto generated do not remove the above tag */ + + public $__table = 'deleted_notice'; // table name + public $id; // int(4) primary_key not_null + public $profile_id; // int(4) not_null + public $uri; // varchar(255) unique_key + public $created; // datetime() not_null + public $deleted; // datetime() not_null + + /* Static get */ + function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Deleted_notice',$k,$v); } + + /* the code above is auto generated do not remove the tag below */ + ###END_AUTOCODE +} -- cgit v1.2.3-54-g00ecf From 1e707008c247d9d6c3c81bf1b1a6fef41f2049ba Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 8 Sep 2009 13:06:46 -0700 Subject: flip exe bit on Deleted_notice.php --- classes/Deleted_notice.php | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 classes/Deleted_notice.php (limited to 'classes/Deleted_notice.php') diff --git a/classes/Deleted_notice.php b/classes/Deleted_notice.php old mode 100755 new mode 100644 -- cgit v1.2.3-54-g00ecf From 46ece1178ce87697e95e5c90daafced142486e56 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 15 Sep 2009 21:12:44 -0400 Subject: check correct define (not backwards compatible) --- classes/Config.php | 4 +++- classes/Deleted_notice.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'classes/Deleted_notice.php') diff --git a/classes/Config.php b/classes/Config.php index 5bec13fdc..92f237d7f 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -17,7 +17,9 @@ * along with this program. If not, see . */ -if (!defined('LACONICA')) { exit(1); } +if (!defined('STATUSNET')) { + exit(1); +} /** * Table Definition for config diff --git a/classes/Deleted_notice.php b/classes/Deleted_notice.php index 474d0b6f4..64dc85da6 100644 --- a/classes/Deleted_notice.php +++ b/classes/Deleted_notice.php @@ -17,7 +17,9 @@ * along with this program. If not, see . */ -if (!defined('LACONICA')) { exit(1); } +if (!defined('STATUSNET')) { + exit(1); +} /** * Table Definition for notice -- cgit v1.2.3-54-g00ecf