diff --git a/flexiapi/app/Device.php b/flexiapi/app/Device.php index 39b20ad..b0ae46e 100644 --- a/flexiapi/app/Device.php +++ b/flexiapi/app/Device.php @@ -24,14 +24,6 @@ use Carbon\Carbon; class Device extends Model { - public function fromContact(\stdClass $contact) - { - $this->uuid = \substr($contact->{'unique-id'}, 2, -2); - $this->expires_at = Carbon::createFromTimestamp($contact->{'expires-at'}); - $this->update_time = Carbon::createFromTimestamp($contact->{'update-time'}); - $this->user_agent = $contact->{'user-agent'}; - } - public function fromRedisContact(string $contact) { // Ugly :'(