fix APC class for next APCu release
authorStricted <info@nexus-irc.de>
Sat, 11 Oct 2014 17:37:22 +0000 (19:37 +0200)
committerStricted <info@nexus-irc.de>
Sat, 11 Oct 2014 17:37:22 +0000 (19:37 +0200)
APC.class.php

index 83cf39b974a6f78a51ad47e3c9520e266fd91a07..2328aa431617b0a9e654771718783edf6bdf9703 100644 (file)
@@ -182,6 +182,11 @@ class APC {
                                        unset($cache['atime']);
                                }
                                
+                               if (isset($cache['modification_time'])) {
+                                       $cache['mtime'] = $cache['modification_time'];
+                                       unset($cache['modification_time']);
+                               }
+                               
                                $info[] = $cache;
                        }
                }