Always check the APCu extension is enabled before calling its functions

Created on 24 July 2024, about 2 months ago
Updated 7 August 2024, about 1 month ago

Since DrupalApcCache methods could be called from CLI (for example, when some Drush commands are executed), they should always first call apcu_enabled() to verify APCu is not disabled (which happens when apcu.enable-cli has not been set to On).

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024