diff options
author | cash <cash.costello@gmail.com> | 2013-01-25 17:59:17 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-01-25 17:59:17 -0500 |
commit | 5d407a2c0fd351cc9b50c4a317200729df5d50da (patch) | |
tree | 5d7e5a61662d2f4781b8dacff00ba5008ddead3c /engine | |
parent | 9f2b42a75768b6da60b94ae7fadc8b3d8dd29526 (diff) | |
download | elgg-5d407a2c0fd351cc9b50c4a317200729df5d50da.tar.gz elgg-5d407a2c0fd351cc9b50c4a317200729df5d50da.tar.bz2 |
Fixes #4987 removed unnecessary code
Diffstat (limited to 'engine')
-rw-r--r-- | engine/classes/ElggPlugin.php | 5 |
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; |