Skip to content
Snippets Groups Projects
Verified Commit 6666b9ba authored by Alberto Paderno's avatar Alberto Paderno
Browse files

Issue #3464187: Remove DrupalApcCache::addModulePrefix()

parent 6e657c43
No related branches found
No related tags found
1 merge request!42Issue #3464187: Remove DrupalApcCache::addModulePrefix()
Pipeline #236230 passed
......@@ -130,22 +130,13 @@ protected function addDatabasePrefix() {
}
}
/**
* Adds the module prefix to the bin prefix.
*
* This method checks if the $prefix property is empty and if so, sets it to
* 'apc_cache::'. Otherwise, it prepends 'apc_cache_' to the $prefix property.
*/
protected function addModulePrefix() {
$this->prefix = empty($this->prefix) ? 'apc_cache::' : "apc_cache::$this->prefix";
}
public function __construct($bin) {
$this->bin = $bin;
$this->setBinPrefix();
$this->addDatabasePrefix();
$this->addModulePrefix();
$this->prefix = empty($this->prefix) ? 'apc_cache::' : "apc_cache::$this->prefix";
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment