diff options
author | Sergio Gomez <sergio@uco.es> | 2016-07-20 16:18:56 +0200 |
---|---|---|
committer | Sergio Gomez <sergio@uco.es> | 2016-07-20 16:18:56 +0200 |
commit | aaf823236dea65165037d6a64b229b708ad831c2 (patch) | |
tree | 3164fd991b2af7641838850e502b771e255574eb /lib/SimpleSAML | |
parent | 8eaf60b1dfe83d4c987af5311ffe3a279885f56d (diff) | |
download | simplesamlphp-aaf823236dea65165037d6a64b229b708ad831c2.zip simplesamlphp-aaf823236dea65165037d6a64b229b708ad831c2.tar.gz simplesamlphp-aaf823236dea65165037d6a64b229b708ad831c2.tar.bz2 |
Removed unnecessary exception
Diffstat (limited to 'lib/SimpleSAML')
-rw-r--r-- | lib/SimpleSAML/Utils/XML.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/SimpleSAML/Utils/XML.php b/lib/SimpleSAML/Utils/XML.php index 092de6c..9750634 100644 --- a/lib/SimpleSAML/Utils/XML.php +++ b/lib/SimpleSAML/Utils/XML.php @@ -8,7 +8,6 @@ namespace SimpleSAML\Utils; use SimpleSAML\Logger; -use Symfony\Component\Config\Definition\Exception\Exception; class XML { @@ -405,7 +404,7 @@ class XML try { $dom = \SAML2_DOMDocumentFactory::fromString($xml); $res = true; - } catch (Exception $e) { + } catch (\Exception $e) { $res = false; } } |