Development

Changeset 10131

You must first sign up to be able to contribute.

Changeset 10131

Show
Ignore:
Timestamp:
07/05/08 06:21:41 (5 months ago)
Author:
dwhittle
Message:

dwhittle: merged changes to branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dwhittle/1.1/lib/storage/sfMySQLSessionStorage.class.php

    r10037 r10131  
    5151 
    5252    // 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())); 
    5454  } 
    5555 
     
    7575    if (!$this->db_query($sql)) 
    7676    { 
    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())); 
    7878    } 
    7979 
     
    123123 
    124124      // 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())); 
    126126    } 
    127127  } 
     
    158158 
    159159    // 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())); 
    161161  } 
    162162