Skip to content

Commit 4527a82

Browse files
committed
chore(pecl): rename function
1 parent 16eb982 commit 4527a82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/pecl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
function php::pecl::enable_pecl_extension() {
3+
function php::pecl::enable_extension() {
44
local rc=0
55
local known_zend_extensions=("scoutapm")
66

@@ -65,7 +65,7 @@ function php::pecl::install_from_cache() {
6565
if [ -f "${cached_file}" ]; then
6666
cp "${cached_file}" "${ext_dir}/${name}.so"
6767

68-
php::pecl::enable_pecl_extension "${name}"
68+
php::pecl::enable_extension "${name}"
6969
rc="${?}"
7070
fi
7171

@@ -307,7 +307,7 @@ function php::pecl::install_extension() {
307307

308308
popd >/dev/null || return 1
309309

310-
if ! php::pecl::enable_pecl_extension "${extension_name}"; then
310+
if ! php::pecl::enable_extension "${extension_name}"; then
311311
echo "Unable to activate PECL extension '${extension_name}' ${version_number}. Aborting." >&2
312312
return 1
313313
else

0 commit comments

Comments
 (0)