mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
no need to pass parameter to hook additionalCache
This commit is contained in:
parent
b083ebb40e
commit
2372cb8d09
|
@ -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>";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user