monitoring/show: remove CheckSource helper
It isn't doing anything but escape, so we can safely skip it.
This commit is contained in:
parent
31fa794440
commit
941ff2a980
|
@ -1,14 +0,0 @@
|
|||
<?php
|
||||
|
||||
class Zend_View_Helper_CheckSource extends Zend_View_Helper_Abstract
|
||||
{
|
||||
protected static $purifier;
|
||||
|
||||
public function checkSource($source)
|
||||
{
|
||||
if (empty($source)) {
|
||||
return '';
|
||||
}
|
||||
return $this->view->escape($source);
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
<?php if (! $object->check_source) return ?>
|
||||
<?php if (! isset($object->check_source) || ! $object->check_source) return ?>
|
||||
<tr>
|
||||
<th><?= $this->translate('Check Source') ?></th>
|
||||
<td>
|
||||
<?= $this->checkSource($object->check_source) ?>
|
||||
<?= $this->escape($object->check_source) ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue