From 45c8a68beba728d0e735bfc7e0426d3a532b2fa7 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Sun, 7 Jun 2015 19:40:51 +0200 Subject: deleted counter function - never needed in the last 4 years --- db/install.sql | 13 ------------- includes/engelsystem_provider.php | 1 - includes/sys_counter.php | 11 ----------- public/index.php | 2 -- 4 files changed, 27 deletions(-) delete mode 100644 includes/sys_counter.php diff --git a/db/install.sql b/db/install.sql index e6773b50..c4da77a2 100644 --- a/db/install.sql +++ b/db/install.sql @@ -42,19 +42,6 @@ INSERT INTO `AngelTypes` (`id`, `name`, `restricted`, `description`) VALUES -- -------------------------------------------------------- --- --- Tabellenstruktur für Tabelle `Counter` --- - -DROP TABLE IF EXISTS `Counter`; -CREATE TABLE IF NOT EXISTS `Counter` ( - `URL` varchar(255) NOT NULL DEFAULT '', - `Anz` bigint(20) NOT NULL DEFAULT '0', - PRIMARY KEY (`URL`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Counter der Seiten'; - --- -------------------------------------------------------- - -- -- Tabellenstruktur für Tabelle `GroupPrivileges` -- diff --git a/includes/engelsystem_provider.php b/includes/engelsystem_provider.php index 1fe06e77..2add641a 100644 --- a/includes/engelsystem_provider.php +++ b/includes/engelsystem_provider.php @@ -5,7 +5,6 @@ require_once realpath(__DIR__ . '/../includes/mysqli_provider.php'); require_once realpath(__DIR__ . '/../includes/sys_auth.php'); -require_once realpath(__DIR__ . '/../includes/sys_counter.php'); require_once realpath(__DIR__ . '/../includes/sys_log.php'); require_once realpath(__DIR__ . '/../includes/sys_menu.php'); require_once realpath(__DIR__ . '/../includes/sys_page.php'); diff --git a/includes/sys_counter.php b/includes/sys_counter.php deleted file mode 100644 index 40110165..00000000 --- a/includes/sys_counter.php +++ /dev/null @@ -1,11 +0,0 @@ - diff --git a/public/index.php b/public/index.php index 418b7eea..c625c386 100644 --- a/public/index.php +++ b/public/index.php @@ -163,6 +163,4 @@ echo template_render('../templates/layout.html', array( 'locale' => $_SESSION['locale'] )); -counter(); - ?> -- cgit v1.2.3-54-g00ecf