Development

Changeset 10115

You must first sign up to be able to contribute.

Changeset 10115

Show
Ignore:
Timestamp:
07/04/08 09:42:45 (6 years ago)
Author:
FabianLange
Message:

1.1: fixed typo in sfMySQLSessionStorage.class.php . fixes #3902

Files:

Legend:

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

    r10034 r10115  
    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