Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit ef8969e

Browse files
melangervyskocilpavel
authored andcommitted
Deleted useless code
1 parent 59a1d94 commit ef8969e

File tree

5 files changed

+1
-9
lines changed

5 files changed

+1
-9
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66
- Using of short array syntax (from array() to [])
77
- Specify engine and default charset in tables.sql
88
- Removed unused include from 'templates/spDetail-tpl.php'
9+
- Deleted useless code
910

1011
#### Fixed
1112
- Fixed the syntax of CHANGELOG

lib/Auth/Process/DatabaseCommand.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,6 @@ public static function getAccessCountPerService($days)
244244
$stmt->execute();
245245
$result = $stmt->get_result();
246246
while ($row = $result->fetch_assoc()) {
247-
//echo "['<a href=spDetail.php?identifier=" .
248-
//$row["service"] . "> " .
249-
//str_replace("'", "\'", $row["spName"]) .
250-
//"</a>', " .
251-
//$row["count"] .
252-
//"],";
253247
echo "['" .
254248
str_replace("'", "\'", $row["spName"]) .
255249
"', '" . $row ["service"] . "', " . $row["count"] . "],";

templates/idpDetail-tpl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
$this->data['jquery'] = ['core' => true, 'ui' => true, 'css' => true];
1414
$this->data['head'] = '<link rel="stylesheet" media="screen" type="text/css" href="' .
1515
Module::getModuleUrl('proxystatistics/statisticsproxy.css') . '" />';
16-
$this->data['head'] .= '';
1716
$this->data['head'] .= '<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>';
1817
$this->data['head'] .= '<script type="text/javascript">
1918
$(document).ready(function() {

templates/spDetail-tpl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
$this->data['jquery'] = ['core' => true, 'ui' => true, 'css' => true];
1515
$this->data['head'] = '<link rel="stylesheet" media="screen" type="text/css" href="' .
1616
Module::getModuleUrl('proxystatistics/statisticsproxy.css') . '" />';
17-
$this->data['head'] .= '';
1817
$this->data['head'] .= '<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>';
1918
$this->data['head'] .= '<script type="text/javascript">
2019
$(document).ready(function() {

templates/statistics-tpl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
$this->data['jquery'] = ['core' => true, 'ui' => true, 'css' => true];
2626
$this->data['head'] = '<link rel="stylesheet" media="screen" type="text/css" href="' .
2727
Module::getModuleUrl('proxystatistics/statisticsproxy.css') . '" />';
28-
$this->data['head'] .= '';
2928
$this->data['head'] .= '<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>';
3029
$this->data['head'] .= '<script type="text/javascript">
3130
$(document).ready(function() {

0 commit comments

Comments
 (0)