Changeset 8059
- Timestamp:
- 03/23/08 19:55:47 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/plugins/sfPropelPlugin/lib/creole/storage/sfCreoleSessionStorage.class.php
r7792 r8059 39 39 { 40 40 // get table/column 41 $db_table = $this-> getParameter('db_table');42 $db_id_col = $this-> getParameter('db_id_col', 'sess_id');41 $db_table = $this->options['db_table']; 42 $db_id_col = $this->options['db_id_col']; 43 43 44 44 // delete the record associated with this id … … 71 71 { 72 72 // get table/column 73 $db_table = $this-> getParameter('db_table');74 $db_time_col = $this-> getParameter('db_time_col', 'sess_time');73 $db_table = $this->options['db_table']; 74 $db_time_col = $this->options['db_time_col']; 75 75 76 76 // delete the record associated with this id … … 101 101 { 102 102 // get table/columns 103 $db_table = $this-> getParameter('db_table');104 $db_data_col = $this-> getParameter('db_data_col', 'sess_data');105 $db_id_col = $this-> getParameter('db_id_col', 'sess_id');106 $db_time_col = $this-> getParameter('db_time_col', 'sess_time');103 $db_table = $this->options['db_table']; 104 $db_data_col = $this->options['db_data_col']; 105 $db_id_col = $this->options['db_id_col']; 106 $db_time_col = $this->options['db_time_col']; 107 107 108 108 try … … 155 155 { 156 156 // get table/column 157 $db_table = $this-> getParameter('db_table');158 $db_data_col = $this-> getParameter('db_data_col', 'sess_data');159 $db_id_col = $this-> getParameter('db_id_col', 'sess_id');160 $db_time_col = $this-> getParameter('db_time_col', 'sess_time');157 $db_table = $this->options['db_table']; 158 $db_data_col = $this->options['db_data_col']; 159 $db_id_col = $this->options['db_id_col']; 160 $db_time_col = $this->options['db_time_col']; 161 161 162 162 $sql = 'UPDATE '.$db_table.' SET '.$db_data_col.'=?, '.$db_time_col.' = '.time().' WHERE '.$db_id_col.'=?';