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

Error_Assertion: Remove unused function.

Remove the getAssertionBacktrace() function, which isn't used anywhere.
This function is also a bit misleading, since it doesn't actually return
the backtrace from where the assertion failed.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1562 44740490-163a-0410-bde0-09ae8108e29a
parent 2a489e0c
No related branches found
No related tags found
No related merge requests found
...@@ -34,17 +34,6 @@ class SimpleSAML_Error_Assertion extends SimpleSAML_Error_Error { ...@@ -34,17 +34,6 @@ class SimpleSAML_Error_Assertion extends SimpleSAML_Error_Error {
} }
/**
* Retrieve backtrace from where the assert-function was called.
*
* @return array Array with a backtrace. Each element is a string which identifies a position
* in the source.
*/
public function getAssertionBacktrace() {
return SimpleSAML_Utilities::buildBacktrace($this, 2);
}
/** /**
* Retrieve the assertion which failed. * Retrieve the assertion which failed.
* *
......
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