mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r423
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@423 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
6cbc5d3d06
commit
3b51ac2533
2 changed files with 5 additions and 5 deletions
|
@ -501,7 +501,7 @@ class cache_sqlite extends cache_common
|
|||
|
||||
function rm ($name = '')
|
||||
{
|
||||
if($this->prefix . $name)
|
||||
if($name)
|
||||
{
|
||||
$this->db->shard($this->prefix . $name);
|
||||
$result = $this->db->query("DELETE FROM ". $this->cfg['table_name'] ." WHERE cache_name = '". sqlite_escape_string($this->prefix . $name) ."'");
|
||||
|
@ -668,7 +668,7 @@ class sqlite_common extends cache_common
|
|||
|
||||
function rm ($name = '')
|
||||
{
|
||||
if($this->prefix . $name)
|
||||
if($name)
|
||||
{
|
||||
$this->db->shard($this->prefix . $name);
|
||||
$result = $this->db->query("DELETE FROM ". $this->cfg['table_name'] ." WHERE cache_name = '". sqlite_escape_string($this->prefix . $name) ."'");
|
||||
|
@ -986,7 +986,7 @@ class cache_file extends cache_common
|
|||
function rm ($name = '')
|
||||
{
|
||||
$clear = false;
|
||||
if($this->prefix . $name)
|
||||
if($name)
|
||||
{
|
||||
$filename = $this->dir . clean_filename($this->prefix . $name) . '.php';
|
||||
if (file_exists($filename))
|
||||
|
|
|
@ -56,8 +56,8 @@ $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'] = 'R421';
|
||||
$bb_cfg['tp_release_date'] = '23-05-2012';
|
||||
$bb_cfg['tp_release_state'] = 'R423';
|
||||
$bb_cfg['tp_release_date'] = '27-05-2012';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue