/** * store : Function to save OAuth records into database */ public function store($force_create = false) { // Initialize creation time for new OAuthUser records if (!isset($this->_id) || $force_create) { $this->created_at = date("Y-m-d H:i:s"); } // Update the record parent::store(); }