mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
MonitoringBackend: Remove deprecated method createBackedn()
This commit is contained in:
parent
bba77b52e7
commit
49bea36345
@ -197,23 +197,6 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a backend
|
|
||||||
*
|
|
||||||
* @deprecated
|
|
||||||
*
|
|
||||||
* @param string $backendName Name of the backend or null for creating the default backend which is the first INI
|
|
||||||
* configuration entry not being disabled
|
|
||||||
*
|
|
||||||
* @return Backend
|
|
||||||
* @throws ConfigurationError When no backend has been configured or all backends are disabled or the
|
|
||||||
* configuration for the requested backend does either not exist or it's disabled
|
|
||||||
*/
|
|
||||||
public static function createBackend($name = null)
|
|
||||||
{
|
|
||||||
return self::instance($name);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get this backend's internal resource
|
* Get this backend's internal resource
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user