/** * Add a new UUID to bind to the device * @param $deviceId * @param $uuid * * @return bool true if uuid insert successful */ private function addNewUuid($deviceId, $uuid) { $devMdl = new DevicesModel(); if ($devMdl->addUuid($deviceId, $uuid) !== false) { return true; } else { return false; } }