Revert "Refactor datastores to classes (#9179)" (#11273)

This reverts commit e5dad7a64e.
This commit is contained in:
Tony Murray
2020-03-11 07:52:52 -05:00
committed by GitHub
parent e5dad7a64e
commit 7fe895bd08
51 changed files with 1007 additions and 2523 deletions

View File

@@ -9,9 +9,6 @@
* @copyright (C) 2006 - 2012 Adam Armstrong
*/
use LibreNMS\Authentication\LegacyAuth;
use LibreNMS\Data\Store\Datastore;
$start = microtime(true);
$init_modules = array('web', 'graphs', 'auth');
@@ -25,9 +22,11 @@ if (!$auth) {
set_debug(isset($_GET['debug']));
rrdtool_initialize(false);
require \LibreNMS\Config::get('install_dir') . '/includes/html/graphs/graph.inc.php';
Datastore::terminate();
rrdtool_close();
if ($debug) {
echo '<br />';