Ticket #438 (closed defect: wontfix)
Conformité au nouveau namespace
Reported by: | plopmaster | Owned by: | pep |
---|---|---|---|
Priority: | normal | Component: | plugin:memCache |
Severity: | normal | Keywords: | |
Cc: |
Description
Le plugin memCache dernière version (1.0beta4) provoque ceci : Notice: Deprecated function called. (dcSettings::old_style_get was called from /var/www/dotclear.svn/plugins/memCache/class.cache.php [33]) in /var/www/dotclear.svn/inc/core/class.dc.settings.php on line 143
Vla un patch :
--- class.cache.php.201004131051 2010-04-13 10:51:19.000000000 +0200 +++ class.cache.php 2010-04-13 10:53:09.000000000 +0200 @@ -29,7 +29,7 @@
$this->memcache_port = $cache_port; $more_key = ; if (!defined('DC_MC_CACHE_BRUTE') && isset($GLOBALScore?)) {
- $more_key = $GLOBALScore?->blog->settings->theme;
+ $more_key = $GLOBALScore?->blog->settings->system->theme;
} $this->memcache_key = md5(http::getHost().$more_key.$uri);
}