Sfoglia il codice sorgente

remove

Deprecated config-cache global.
Cristhian Martínez Ochoa 3 anni fa
parent
commit
4c3360e4ed
2 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 0 1
      lib/general
  2. 1 1
      usr/webinoly

+ 0 - 1
lib/general

@@ -1316,7 +1316,6 @@ config_fastcgi_cache() {
 	else
 		local timefile="/etc/nginx/conf.d/fastcgi.conf"
 		local mainfile="/etc/nginx/conf.d/fastcgi.conf"
-		[[ -n $config_cache && -z $cache_valid ]] && cache_valid=$config_cache  # Will be removed!
 	fi
 	
 

+ 1 - 1
usr/webinoly

@@ -57,7 +57,7 @@ elif [[ -n $login_www_data ]]; then
 	nginx_not="true" # Nginx-Reload not-needed.
 	
 	
-elif [[ -n $cache_valid || -n $config_cache ]]; then
+elif [[ -n $cache_valid ]]; then
 	config_fastcgi_cache