aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbeck24 <beck24@gmail.com>2013-10-13 00:19:46 -0700
committerbeck24 <beck24@gmail.com>2013-10-13 00:19:46 -0700
commit634216f0978d037fb84ef8e68e4e4272752c22fb (patch)
tree27b7c3d65b03d9a0a4e35d507d5d3afa90e04e5d /engine
parentb3cf5a302d25b06421a055f280ca4f654bd8e6a7 (diff)
downloadelgg-634216f0978d037fb84ef8e68e4e4272752c22fb.tar.gz
elgg-634216f0978d037fb84ef8e68e4e4272752c22fb.tar.bz2
whitespace fix
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/plugins.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index f0d89e92d..e0aa705bb 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -1105,13 +1105,13 @@ function plugins_test($hook, $type, $value, $params) {
}
function plugins_deactivate_dependency_check($event, $type, $params) {
- $plugin_id = $params['plugin_entity']->getManifest()->getPluginID();
- $plugin_name = $params['plugin_entity']->getManifest()->getName();
-
- $active_plugins = elgg_get_plugins();
+ $plugin_id = $params['plugin_entity']->getManifest()->getPluginID();
+ $plugin_name = $params['plugin_entity']->getManifest()->getName();
+
+ $active_plugins = elgg_get_plugins();
$dependents = array();
- foreach ($active_plugins as $plugin) {
+ foreach ($active_plugins as $plugin) {
$manifest = $plugin->getManifest();
$requires = $manifest->getRequires();
@@ -1121,9 +1121,9 @@ function plugins_deactivate_dependency_check($event, $type, $params) {
$dependents[$manifest->getPluginID()] = $plugin;
}
}
- }
-
- if ($dependents) {
+ }
+
+ if ($dependents) {
$list = '<ul>';
// construct error message and prevent disabling
foreach ($dependents as $dependent) {