Changeset 10131
- Timestamp:
- 07/05/08 06:21:41 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/dwhittle/1.1/lib/storage/sfMySQLSessionStorage.class.php
r10037 r10131 51 51 52 52 // failed to destroy session 53 throw new sfDatabaseException(sprintf('% cannot destroy session id "%s" (%s).', get_class($this), $id, mysql_error()));53 throw new sfDatabaseException(sprintf('%s cannot destroy session id "%s" (%s).', get_class($this), $id, mysql_error())); 54 54 } 55 55 … … 75 75 if (!$this->db_query($sql)) 76 76 { 77 throw new sfDatabaseException(sprintf('% cannot delete old sessions (%s).', get_class($this), mysql_error()));77 throw new sfDatabaseException(sprintf('%s cannot delete old sessions (%s).', get_class($this), mysql_error())); 78 78 } 79 79 … … 123 123 124 124 // can't create record 125 throw new sfDatabaseException(sprintf('% cannot create new record for id "%s" (%s).', get_class($this), $id, mysql_error()));125 throw new sfDatabaseException(sprintf('%s cannot create new record for id "%s" (%s).', get_class($this), $id, mysql_error())); 126 126 } 127 127 } … … 158 158 159 159 // failed to write session data 160 throw new sfDatabaseException(sprintf('% cannot write session data for id "%s" (%s).', get_class($this), $id, mysql_error()));160 throw new sfDatabaseException(sprintf('%s cannot write session data for id "%s" (%s).', get_class($this), $id, mysql_error())); 161 161 } 162 162