diff --git a/Auth/OpenID/MySQLStore.php b/Auth/OpenID/MySQLStore.php index 810f059f..5369ebbf 100644 --- a/Auth/OpenID/MySQLStore.php +++ b/Auth/OpenID/MySQLStore.php @@ -43,7 +43,9 @@ function setSQL() $this->sql['set_assoc'] = "REPLACE INTO %s (server_url, handle, secret, issued,\n". - " lifetime, assoc_type) VALUES (?, ?, !, ?, ?, ?)"; + " lifetime, assoc_type) VALUES (?, ?, ?, ?, ?, ?)"; +// MDB2 edit +// " lifetime, assoc_type) VALUES (?, ?, !, ?, ?, ?)"; $this->sql['get_assocs'] = "SELECT handle, secret, issued, lifetime, assoc_type FROM %s ". @@ -66,12 +68,13 @@ function setSQL() "DELETE FROM %s WHERE issued + lifetime < ?"; } - /** - * @access private - */ - function blobEncode($blob) - { - return "0x" . bin2hex($blob); - } +// MDB2 edit +// /** +// * @access private +// */ +// function blobEncode($blob) +// { +// return "0x" . bin2hex($blob); +// } }