registration: Have cache entries expire after 24 hours
[lhc/web/wiklou.git] / includes / registration / ExtensionRegistry.php
index d938f07..75d0bb7 100644 (file)
@@ -104,7 +104,7 @@ class ExtensionRegistry {
                        // did that, but it should be cached
                        $data['globals']['wgAutoloadClasses'] += $data['autoload'];
                        unset( $data['autoload'] );
-                       $this->cache->set( $key, $data );
+                       $this->cache->set( $key, $data, 60 * 60 * 24 );
                }
                $this->queued = array();
        }