diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-30 02:41:44 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-30 02:41:44 +0200 |
commit | a6d6098556a197190ad08b1328f4ad5541749644 (patch) | |
tree | 9669ac51bc89394a5d61af9a553686945c722dd1 /config | |
parent | ee7f4749a868f683a9625780896213ca3d3f6ad3 (diff) | |
download | pfsense-packages-a6d6098556a197190ad08b1328f4ad5541749644.tar.gz pfsense-packages-a6d6098556a197190ad08b1328f4ad5541749644.tar.bz2 pfsense-packages-a6d6098556a197190ad08b1328f4ad5541749644.zip |
remove the squid_dash_z() nonsense from here
squid_dash_z() is already run as part of squid_resync(), plus the whole logic is broken here (like, leaving old cache dir in place if location changes, or cleaning the cache if the configured size gets increased). But that's for another round of fixes.
Diffstat (limited to 'config')
-rwxr-xr-x | config/squid3/34/squid_cache.xml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/config/squid3/34/squid_cache.xml b/config/squid3/34/squid_cache.xml index 9c166a59..a5e73f80 100755 --- a/config/squid3/34/squid_cache.xml +++ b/config/squid3/34/squid_cache.xml @@ -403,22 +403,10 @@ <encoding>base64</encoding> </field> </fields> - <custom_php_command_before_form> - <![CDATA[ - if ($_POST['harddisk_cache_size'] != $config['installedpackages']['squidcache']['config'][0]['harddisk_cache_size']) { - $needs_dash_z = true; - } - ]]> - </custom_php_command_before_form> <custom_php_validation_command> squid_validate_cache($_POST, $input_errors); </custom_php_validation_command> <custom_php_resync_config_command> - <![CDATA[ squid_resync(); - if ($needs_dash_z) { - squid_dash_z(); - } - ]]> </custom_php_resync_config_command> </packagegui> |