Revision: 1858
Author: olavmrk
Date: Fri Oct 16 04:04:16 2009
Log: openid: Use the new function to mask warnings from the OpenID library.
http://code.google.com/p/simplesamlphp/source/detail?r=1858

Modified:
  /trunk/modules/openid/www/consumer.php

=======================================
--- /trunk/modules/openid/www/consumer.php      Thu May  7 22:39:35 2009
+++ /trunk/modules/openid/www/consumer.php      Fri Oct 16 04:04:16 2009
@@ -4,8 +4,7 @@
   * Disable strict error reporting, since the OpenID library
   * used is PHP4-compatible, and not PHP5 strict-standards compatible.
   */
-$oldErrLevel = error_reporting();
-error_reporting($oldErrLevel & ~E_STRICT);
+SimpleSAML_Utilities::maskErrors(E_STRICT);

  require_once('Auth/OpenID/SReg.php');
  require_once('Auth/OpenID/Server.php');

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to