diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-07-08 15:33:01 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-07-08 15:33:01 +0000 |
| commit | 8c787b83a2514e975ea20eeb7049a923a09c6bca (patch) | |
| tree | 98d7a90c24d78616ade77cb31ba32b1af034ebbd /index_edit.php | |
| parent | 595d2fa96c22d251174aef950ba13bdd6e75b989 (diff) | |
| download | webtrees-8c787b83a2514e975ea20eeb7049a923a09c6bca.tar.gz webtrees-8c787b83a2514e975ea20eeb7049a923a09c6bca.tar.bz2 webtrees-8c787b83a2514e975ea20eeb7049a923a09c6bca.zip | |
Remove references to block-caching system. We haven't used it for some time.....
Diffstat (limited to 'index_edit.php')
| -rw-r--r-- | index_edit.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/index_edit.php b/index_edit.php index 0260eb7b33..cae46f5536 100644 --- a/index_edit.php +++ b/index_edit.php @@ -32,7 +32,6 @@ define('WT_SCRIPT_NAME', 'index_edit.php'); require './includes/session.php'; -require_once WT_ROOT.'includes/index_cache.php'; $ctype=safe_REQUEST($_REQUEST, 'ctype', array('user', 'gedcom')); @@ -136,12 +135,6 @@ if ($action=='update') { exit; } -if ($action=="clearcache") { - clearCache(); - echo "<span class=\"warning\">".i18n::translate('The cache files have been removed.')."</span><br /><br />"; -} - -//var_dump($blocks);die("eek"); if ($action=="configure") { if (array_key_exists($block_id, $blocks['main'])) { $block_name=$blocks['main'][$block_id]; @@ -419,10 +412,6 @@ if ($action=="configure") { } else { echo help_link('block_default_index'); } - if (WT_USER_GEDCOM_ADMIN && $ctype!="user") { - echo "<input type =\"button\" value=\"".i18n::translate('Clear cache files')."\" onclick=\"window.location='index_edit.php?ctype=$ctype&action=clearcache&name=".str_replace("'", "\'", $name)."';\" />"; - echo help_link('clear_cache'); - } echo " "; echo "<input type=\"button\" value=\"".i18n::translate('Save')."\" onclick=\"select_options(); save_form();\" />\n"; echo " "; |
