Skip to content

Commit

Permalink
Changed ApcStorageLock() not to initialize ApcStorageLock::$locks
Browse files Browse the repository at this point in the history
  • Loading branch information
avpaderno committed Feb 17, 2025
1 parent 04d3f99 commit 6125a96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions includes/apc_storage_lock.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,6 @@ class ApcStorageLock {
* Releases all previously acquired locks.
*/
public static function releaseAll(): void {
self::$locks = array();

if (!empty(self::$uniqueId)) {
if (extension_loaded('apcu') && apcu_enabled()) {
$key = preg_quote('apc_storage_lock::' . backdrop_base64_encode(self::$uniqueId) . '::', '/');
Expand Down

0 comments on commit 6125a96

Please sign in to comment.