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 @@
* 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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment