Remove obsolete code (php 5.6 support) (#41)

Closes #39
py3
Emilien M 2019-04-26 13:28:04 +02:00 committed by GitHub
parent a03a656b18
commit 247f849b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 8 deletions

View File

@ -1,17 +1,11 @@
def php_default_upstream_socket(php_version): def php_default_upstream_socket(php_version):
if php_version == '5.6': return '/run/php/php%s-fpm.sock' % php_version
return '/run/php5-fpm.sock'
else:
return '/run/php/php%s-fpm.sock' % php_version
def php_default_upstream_name(php_version): def php_default_upstream_name(php_version):
return 'default_php_%s' % php_version return 'default_php_%s' % php_version
def php_fpm_service(php_version): def php_fpm_service(php_version):
if php_version == '5.6': return 'php%s-fpm' % php_version
return 'php5-fpm'
else:
return 'php%s-fpm' % php_version
class FilterModule(object): class FilterModule(object):
''' PHP module ''' ''' PHP module '''