Changeset 2469 in subversion
- Timestamp:
- May 12, 2009 2:46:17 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/include/session.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/session.inc
r2467 r2469 92 92 $DB = rcmail::get_instance()->get_dbh(); 93 93 94 if ($DB->is_error()) {95 return false;96 }97 98 94 $now = $DB->fromunixtime(time()); 99 95 … … 224 220 function rcube_sess_destroy($key) 225 221 { 226 $rcmail = rcmail::get_instance(); 227 $DB = $rcmail->get_dbh(); 222 $DB = rcmail::get_instance()->get_dbh(); 228 223 229 224 $DB->query("DELETE FROM " . get_table_name('session') . " WHERE sess_id=?", $key);
Note: See TracChangeset
for help on using the changeset viewer.
