summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/User.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/models/User.php b/models/User.php
index a1c8f8d..6408f1c 100644
--- a/models/User.php
+++ b/models/User.php
@@ -9,13 +9,8 @@ use \App\Libraries\openID\LightOpenID;
use \lithium\security\Password;
class User extends \lithium\data\Model {
- //To bypass mongo bug
- //protected $_meta = array('key' => '_id');
- /*protected $_schema = array('_id' => array('type' => 'id'),
- 'feed' => array('type'=>'string', 'array' => true),
- 'animelist' => array('type' => 'object', 'array' => true),
- 'mangalist' => array('type' => 'object', 'array' => true)
- );*/
+
+ public $hasMany = array('Post');
public static function __init()
{