aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-30 02:41:44 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-30 02:41:44 +0200
commita6d6098556a197190ad08b1328f4ad5541749644 (patch)
tree9669ac51bc89394a5d61af9a553686945c722dd1
parentee7f4749a868f683a9625780896213ca3d3f6ad3 (diff)
downloadpfsense-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.
-rwxr-xr-xconfig/squid3/34/squid_cache.xml12
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>