Skip to content
Snippets Groups Projects
Commit 436d91fc authored by Olav Morken's avatar Olav Morken
Browse files

openid: Use the new function to mask warnings from the OpenID library.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1858 44740490-163a-0410-bde0-09ae8108e29a
parent 7506eb3b
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
* Disable strict error reporting, since the OpenID library * Disable strict error reporting, since the OpenID library
* used is PHP4-compatible, and not PHP5 strict-standards compatible. * used is PHP4-compatible, and not PHP5 strict-standards compatible.
*/ */
$oldErrLevel = error_reporting(); SimpleSAML_Utilities::maskErrors(E_STRICT);
error_reporting($oldErrLevel & ~E_STRICT);
require_once('Auth/OpenID/SReg.php'); require_once('Auth/OpenID/SReg.php');
require_once('Auth/OpenID/Server.php'); require_once('Auth/OpenID/Server.php');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment