aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-01-25 17:59:17 -0500
committercash <cash.costello@gmail.com>2013-01-25 17:59:17 -0500
commit5d407a2c0fd351cc9b50c4a317200729df5d50da (patch)
tree5d7e5a61662d2f4781b8dacff00ba5008ddead3c /engine
parent9f2b42a75768b6da60b94ae7fadc8b3d8dd29526 (diff)
downloadelgg-5d407a2c0fd351cc9b50c4a317200729df5d50da.tar.gz
elgg-5d407a2c0fd351cc9b50c4a317200729df5d50da.tar.bz2
Fixes #4987 removed unnecessary code
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggPlugin.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/engine/classes/ElggPlugin.php b/engine/classes/ElggPlugin.php
index 32b5f952a..8f71b79a8 100644
--- a/engine/classes/ElggPlugin.php
+++ b/engine/classes/ElggPlugin.php
@@ -303,10 +303,7 @@ class ElggPlugin extends ElggObject {
$return = array();
foreach ($private_settings as $setting) {
- $name = substr($setting->name, $ps_prefix_len);
- $value = $setting->value;
-
- $return[$name] = $value;
+ $return[$setting->name] = $setting->value;
}
return $return;