diff options
author | Philip Häusler <msquare@notrademark.de> | 2015-06-07 19:40:51 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2015-06-07 19:40:51 +0200 |
commit | 45c8a68beba728d0e735bfc7e0426d3a532b2fa7 (patch) | |
tree | 0ca0bedec80b49366cc1c0f4b302bda052e3adc2 /includes/sys_counter.php | |
parent | c88b1adcfe6a3affd17158db3d26789cc3103864 (diff) |
deleted counter function - never needed in the last 4 years
Diffstat (limited to 'includes/sys_counter.php')
-rw-r--r-- | includes/sys_counter.php | 11 |
1 files changed, 0 insertions, 11 deletions
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 @@ -<?php - -function counter() { - global $p; - - if (sql_num_query("SELECT `Anz` FROM `Counter` WHERE `URL`='" . sql_escape($p) . "'") == 0) - sql_query("INSERT INTO `Counter` ( `URL` , `Anz` ) VALUES ('" . sql_escape($p) . "', '1');"); - else - sql_query("UPDATE `Counter` SET `Anz` = `Anz` + 1 WHERE `URL` = '" . sql_escape($p) . "' LIMIT 1 ;"); -} -?> |