summaryrefslogtreecommitdiffstats
path: root/lib/private/DatabaseException.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-24 13:44:12 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-07-24 13:44:12 +0200
commitb8ed028870c36a5471df264d64dcdee6074096c9 (patch)
treefa44f2e5eb248fe94cf2fad17f0cc55359a0b807 /lib/private/DatabaseException.php
parent989614f9d5faa11157b232785537eb5cca927649 (diff)
downloadnextcloud-server-b8ed028870c36a5471df264d64dcdee6074096c9.tar.gz
nextcloud-server-b8ed028870c36a5471df264d64dcdee6074096c9.zip
Remove unneeded parameter in DatabaseException
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/DatabaseException.php')
-rw-r--r--lib/private/DatabaseException.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/private/DatabaseException.php b/lib/private/DatabaseException.php
index 7ca7435c028..68b617e4c75 100644
--- a/lib/private/DatabaseException.php
+++ b/lib/private/DatabaseException.php
@@ -24,15 +24,4 @@
namespace OC;
class DatabaseException extends \Exception {
- private $query;
-
- //FIXME getQuery seems to be unused, maybe use parent constructor with $message, $code and $previous
- public function __construct($message, $query = null){
- parent::__construct($message);
- $this->query = $query;
- }
-
- public function getQuery() {
- return $this->query;
- }
}