From: Evan Prodromou Date: Mon, 16 Nov 2009 15:04:51 +0000 (+0100) Subject: remove User_role class X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fa00aed88b8ee0afc63b0e19d05564d20dcd0b1e;p=quix0rs-gnu-social.git remove User_role class --- 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'; -}