From 3b51ac2533cd048b168c1bf657c183bf1d81953e Mon Sep 17 00:00:00 2001 From: nanosimbiot Date: Sun, 27 May 2012 11:59:11 +0000 Subject: [PATCH] r423 git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@423 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/common.php | 6 +++--- upload/config.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/upload/common.php b/upload/common.php index 8dc975fe2..2400191f3 100644 --- a/upload/common.php +++ b/upload/common.php @@ -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)) diff --git a/upload/config.php b/upload/config.php index f27513553..9d7912d16 100644 --- a/upload/config.php +++ b/upload/config.php @@ -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';