]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
whitespace fix
authorbeck24 <beck24@gmail.com>
Sun, 13 Oct 2013 07:19:46 +0000 (00:19 -0700)
committerbeck24 <beck24@gmail.com>
Sun, 13 Oct 2013 07:19:46 +0000 (00:19 -0700)
engine/lib/plugins.php

index f0d89e92dd5797905ca2f813185fc54e9ab1a743..e0aa705bb51fe0c16dbe475367bbc63c4111a83d 100644 (file)
@@ -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) {