Files
librenms-librenms/LibreNMS
Tony Murray f1e7a218f0 Convert Config to a singleton (#16349)
* Convert Config to a singleton
Continuation of #14364 by @Jellyfrog
This time, make the old class a shim for the facade.  Will update references in a separate PR.

* Remove logging config call

* Apply fixes from StyleCI

* Fix bad Git constructor call

* Fail on config table does not exist instead of throw exception

* Inline LibrenmsConfig::isRegistered()

* Debug call in case there are more issues,
remove before merge.

* Fix up config tests

* Allow config cache controlled by CONFIG_CACHE_TTL (disabled by default for now)

* Enable config cache for tests

* Remove debug statement and deprecation phpdoc

* Apply fixes from StyleCI

---------

Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
2024-09-09 18:48:07 +02:00
..
2024-09-04 16:04:06 -05:00
2023-07-31 22:26:21 -05:00
2023-05-24 22:21:54 +02:00
2024-09-04 09:53:04 -05:00
2024-09-09 09:09:19 +02:00
2024-09-07 16:59:23 -05:00
2024-04-18 09:57:01 -05:00
2024-08-06 13:11:44 -05:00
2023-08-05 12:12:36 -05:00
2023-05-24 22:21:54 +02:00
2024-09-03 13:18:38 -05:00
2023-10-04 16:32:02 -05:00
2021-02-09 00:29:04 +01:00
2023-10-04 10:32:59 -05:00