From 3dc31f3adff1b5555b95c1f92b45d7de441263ea Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 7 Sep 2010 05:40:56 +0000
Subject: [PATCH] SimpleSAML_Error_Error: Remove unused $this->cause.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2526 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Error/Error.php | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/lib/SimpleSAML/Error/Error.php b/lib/SimpleSAML/Error/Error.php
index fbf974bfa..92050111d 100644
--- a/lib/SimpleSAML/Error/Error.php
+++ b/lib/SimpleSAML/Error/Error.php
@@ -26,12 +26,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception {
 	private $parameters;
 
 
-	/**
-	 * The exception which caused this error.
-	 */
-	private $cause;
-
-
 	/**
 	 * Constructor for this error.
 	 *
@@ -68,8 +62,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception {
 			$msg = $this->errorCode;
 		}
 		parent::__construct($msg, -1, $cause);
-
-		$this->cause = $cause;
 	}
 
 
-- 
GitLab