Changeset 4698 in subversion
- Timestamp:
- Apr 26, 2011 3:30:45 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_session.php
r4696 r4698 167 167 $oldvars = $this->vars; 168 168 } else { // else read data again from DB 169 $oldvars = $this-> read($key);169 $oldvars = $this->db_read($key); 170 170 } 171 171 172 172 if ($oldvars !== false) { 173 173 $newvars = $this->_fixvars($vars, $oldvars); 174 174 175 175 if ($newvars !== $oldvars) { 176 176 $this->db->query( … … 194 194 return true; 195 195 } 196 197 196 197 198 198 private function _fixvars($vars, $oldvars) 199 199 { … … 212 212 $newvars = $vars; 213 213 } 214 214 215 215 $this->unsets = array(); 216 216 return $newvars; … … 247 247 get_table_name('session'), $this->db->fromunixtime(time() - $maxlifetime))); 248 248 249 $this-> rcube_gc();249 $this->gc(); 250 250 251 251 return true; … … 316 316 * Execute registered garbage collector routines 317 317 */ 318 public function rcube_gc()318 public function gc() 319 319 { 320 320 foreach ($this->gc_handlers as $fct)
Note: See TracChangeset
for help on using the changeset viewer.
