mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r440
Полная очистка кеша в редисе. git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@440 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
e1c46998d0
commit
583d106099
2 changed files with 9 additions and 2 deletions
|
@ -774,8 +774,15 @@ class cache_redis extends cache_common
|
|||
{
|
||||
if (!$this->connected) $this->connect();
|
||||
|
||||
if ($name)
|
||||
{
|
||||
return ($this->connected) ? $this->redis->del($this->prefix . $name) : false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return ($this->connected) ? $this->redis->flushdb() : false;
|
||||
}
|
||||
}
|
||||
|
||||
function is_installed ()
|
||||
{
|
||||
|
|
|
@ -56,7 +56,7 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.5 Beta';
|
||||
$bb_cfg['tp_release_state'] = 'R439';
|
||||
$bb_cfg['tp_release_state'] = 'R440';
|
||||
$bb_cfg['tp_release_date'] = '06-07-2012';
|
||||
|
||||
// Database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue