Skip to content

Commit 0bd855f

Browse files
committed
Removed unneeded classcycler
1 parent dd7d048 commit 0bd855f

File tree

6 files changed

+2
-137
lines changed

6 files changed

+2
-137
lines changed

src/OpCacheGUI/Presentation/ClassCycler.php

Lines changed: 0 additions & 66 deletions
This file was deleted.

template/cached.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22
$status = new OpCacheGUI\OpCache\Status($this->byteFormatter, $this->translator, opcache_get_status());
3-
$classCycler = new OpCacheGUI\Presentation\ClassCycler(['odd', 'even']);
43

54
$directories = [];
65
foreach($status->getCachedScripts() as $data) {

template/configuration.phtml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<?php
2-
$config = new OpCacheGUI\OpCache\Configuration($this->byteFormatter, opcache_get_configuration());
3-
$classCycler = new OpCacheGUI\Presentation\ClassCycler(['odd', 'even']);
4-
?>
5-
1+
<?php $config = new OpCacheGUI\OpCache\Configuration($this->byteFormatter, opcache_get_configuration()); ?>
62
<section id="configuration-tabs" class="tabs">
73
<nav id="sub-nav">
84
<ul>

template/graphs.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22
$status = new OpCacheGUI\OpCache\Status($this->byteFormatter, $this->translator, opcache_get_status());
3-
$classCycler = new OpCacheGUI\Presentation\ClassCycler(['odd', 'even']);
43

54
$memoryInfo = $status->getMemoryInfo();
65
$statsInfo = $status->getStatsInfo();

template/status.phtml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<?php
2-
$status = new OpCacheGUI\OpCache\Status($this->byteFormatter, $this->translator, opcache_get_status());
3-
$classCycler = new OpCacheGUI\Presentation\ClassCycler(['odd', 'even']);
4-
?>
5-
1+
<?php $status = new OpCacheGUI\OpCache\Status($this->byteFormatter, $this->translator, opcache_get_status()); ?>
62
<section id="status-tabs" class="tabs">
73
<div class="data-block clear">
84
<h2><?= $this->translator->translate('status.title'); ?></h2>

test/Unit/Presentation/ClassCyclerTest.php

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)