aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-12-09 09:26:28 -0500
committerSteve Clay <steve@mrclay.org>2013-12-09 09:26:28 -0500
commit54d559f8ce84877f4dc2ccf84d00fd5047669d88 (patch)
tree00db335c931c3423ec4f5cfa9f1c9b032b2509e5 /engine/classes
parent5866c12f7b5cc7c9fa922324a26c419a66fc5ea3 (diff)
downloadelgg-54d559f8ce84877f4dc2ccf84d00fd5047669d88.tar.gz
elgg-54d559f8ce84877f4dc2ccf84d00fd5047669d88.tar.bz2
Code style fixes for recent PR
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggPlugin.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/engine/classes/ElggPlugin.php b/engine/classes/ElggPlugin.php
index 81831d8cd..545b9a53c 100644
--- a/engine/classes/ElggPlugin.php
+++ b/engine/classes/ElggPlugin.php
@@ -300,13 +300,12 @@ class ElggPlugin extends ElggObject {
$private_settings = get_data($q);
$return = array();
-
+
if ($private_settings) {
-
foreach ($private_settings as $setting) {
$return[$setting->name] = $setting->value;
}
- }
+ }
return $return;
}
@@ -423,16 +422,14 @@ class ElggPlugin extends ElggObject {
$private_settings = get_data($q);
$return = array();
-
- if ($private_settings) {
-
+
+ if ($private_settings) {
foreach ($private_settings as $setting) {
$name = substr($setting->name, $ps_prefix_len);
$value = $setting->value;
$return[$name] = $value;
}
-
}
return $return;