From fa00aed88b8ee0afc63b0e19d05564d20dcd0b1e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 16 Nov 2009 16:04:51 +0100 Subject: [PATCH] remove User_role class --- classes/User_role.php | 53 ------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 classes/User_role.php diff --git a/classes/User_role.php b/classes/User_role.php deleted file mode 100644 index b415642fc2..0000000000 --- a/classes/User_role.php +++ /dev/null @@ -1,53 +0,0 @@ -. - */ - -if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } - -/** - * Table Definition for user_role - */ - -require_once INSTALLDIR.'/classes/Memcached_DataObject.php'; - -class User_role extends Memcached_DataObject -{ - ###START_AUTOCODE - /* the code below is auto generated do not remove the above tag */ - - public $__table = 'user_role'; // table name - public $user_id; // int(4) primary_key not_null - public $role; // varchar(32) primary_key not_null - public $created; // datetime() not_null - - /* Static get */ - function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('User_role',$k,$v); } - - /* the code above is auto generated do not remove the tag below */ - ###END_AUTOCODE - - function &pkeyGet($kv) - { - return Memcached_DataObject::pkeyGet('User_role', $kv); - } - - const MODERATOR = 'moderator'; - const ADMINISTRATOR = 'administrator'; - const SANDBOXED = 'sandboxed'; - const SILENCED = 'silenced'; -} -- 2.39.5