- don't stop on error

release-0.6
alecpl 16 years ago
parent f22c2cefb4
commit 6481bbcf34

@ -91,10 +91,6 @@ function rcube_sess_unset($var)
{
$DB = rcmail::get_instance()->get_dbh();
if ($DB->is_error()) {
return false;
}
$now = $DB->fromunixtime(time());
$sql_result = $DB->query(
@ -223,8 +219,7 @@ function rcube_sess_unserialize($str)
// handler for session_destroy()
function rcube_sess_destroy($key)
{
$rcmail = rcmail::get_instance();
$DB = $rcmail->get_dbh();
$DB = rcmail::get_instance()->get_dbh();
$DB->query("DELETE FROM " . get_table_name('session') . " WHERE sess_id=?", $key);

Loading…
Cancel
Save