From b596b615b40adb8c0ba72dab06526df50043d815 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 28 Feb 2016 13:22:09 +0000 Subject: [PATCH] APCIterator is from global namespace --- api/src/Cache/Apc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Cache/Apc.php b/api/src/Cache/Apc.php index d170bcc596..a29ea40db3 100644 --- a/api/src/Cache/Apc.php +++ b/api/src/Cache/Apc.php @@ -157,7 +157,7 @@ class Apc extends Base implements Provider return false; } //error_log(__METHOD__."(".array2string($keys).")"); - foreach(new APCIterator('user', $preg='/^'.preg_quote(self::key($keys).'/')) as $item) + foreach(new \APCIterator('user', $preg='/^'.preg_quote(self::key($keys).'/')) as $item) { //error_log(__METHOD__."(".array2string($keys).") preg='$preg': calling apc_delete('$item[key]')"); apc_delete($item['key']);