Changeset 2469 in subversion


Ignore:
Timestamp:
May 12, 2009 2:46:17 PM (4 years ago)
Author:
alec
Message:
  • don't stop on error
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/session.inc

    r2467 r2469  
    9292  $DB = rcmail::get_instance()->get_dbh(); 
    9393 
    94   if ($DB->is_error()) { 
    95     return false; 
    96   } 
    97  
    9894  $now = $DB->fromunixtime(time()); 
    9995 
     
    224220function rcube_sess_destroy($key) 
    225221{ 
    226   $rcmail = rcmail::get_instance(); 
    227   $DB = $rcmail->get_dbh(); 
     222  $DB = rcmail::get_instance()->get_dbh(); 
    228223   
    229224  $DB->query("DELETE FROM " . get_table_name('session') . " WHERE sess_id=?", $key); 
Note: See TracChangeset for help on using the changeset viewer.