From ed1d212ae2daea5e4bd043417610177093e99f19 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sat, 16 Jan 2016 03:03:51 -0500
Subject: [PATCH] Improved SVG cleanup code
---
plugins/enigma/lib/enigma_error.php | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/plugins/enigma/lib/enigma_error.php b/plugins/enigma/lib/enigma_error.php
index d563854..d5f190b 100644
--- a/plugins/enigma/lib/enigma_error.php
+++ b/plugins/enigma/lib/enigma_error.php
@@ -51,11 +51,6 @@
function getData($name)
{
- if ($name) {
- return $this->data[$name];
- }
- else {
- return $this->data;
- }
+ return $name ? $this->data[$name] : $this->data;
}
}
--
Gitblit v1.9.1