Closed wordswords closed 8 years ago
Additionally, just looking through the code; we have a @devices
variable that's being used to store the list of devices from DeviceAPI. Each time this is called, the first thing the code does is to exclude the untrusted and devices with no permissions. Could we not exclude these when you're setting the variable? That way we lose a few select operations that would be unnecessary.
… it was because the create_device wasn't being called on the hash array