mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This reverts commit 1752d1efd4
.
This commit is contained in:
@@ -51,14 +51,6 @@ class Device
|
||||
$this->primary = $device_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a primary device is set
|
||||
*/
|
||||
public function hasPrimary(): bool
|
||||
{
|
||||
return $this->primary !== null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a device by device_id
|
||||
*
|
||||
|
Reference in New Issue
Block a user