no need to pass parameter to hook additionalCache

This commit is contained in:
Uwe Steinmann 2020-08-21 13:20:07 +02:00
parent b083ebb40e
commit 2372cb8d09

View File

@ -56,7 +56,7 @@ class SeedDMS_View_ClearCache extends SeedDMS_Bootstrap_Style {
<input type="checkbox" name="js" value="1" checked> <?php printMLText('temp_jscode'); ?>
<?php
$addcache = array();
if($addcache = $this->callHook('additionalCache', $addcache)) {
if($addcache = $this->callHook('additionalCache')) {
foreach($addcache as $c)
echo "<p><input type=\"checkbox\" name=\"".$c[0]."\" value=\"1\" checked> ".$c[1]."</p>";
}