File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- function php::pecl::enable_pecl_extension () {
3
+ function php::pecl::enable_extension () {
4
4
local rc=0
5
5
local known_zend_extensions=(" scoutapm" )
6
6
@@ -65,7 +65,7 @@ function php::pecl::install_from_cache() {
65
65
if [ -f " ${cached_file} " ]; then
66
66
cp " ${cached_file} " " ${ext_dir} /${name} .so"
67
67
68
- php::pecl::enable_pecl_extension " ${name} "
68
+ php::pecl::enable_extension " ${name} "
69
69
rc=" ${?} "
70
70
fi
71
71
@@ -307,7 +307,7 @@ function php::pecl::install_extension() {
307
307
308
308
popd > /dev/null || return 1
309
309
310
- if ! php::pecl::enable_pecl_extension " ${extension_name} " ; then
310
+ if ! php::pecl::enable_extension " ${extension_name} " ; then
311
311
echo " Unable to activate PECL extension '${extension_name} ' ${version_number} . Aborting." >&2
312
312
return 1
313
313
else
You can’t perform that action at this time.
0 commit comments