toggle sort direction of user plugins

This commit is contained in:
o.pinke 2023-07-04 20:17:03 +02:00
parent 28acb7f004
commit 727cad0e1e
2 changed files with 2 additions and 3 deletions

View file

@ -188,7 +188,7 @@ if ($oFeUser->virgin == false && $oFeUser->get("idclient") == $client) {
$form->add(i18n("Active"), $active->toHTML(false));
$pluginOrder = trim_array(explode(",",getSystemProperty("plugin", "frontendusers-pluginorder")));
krsort($pluginOrder);
/* Check out if there are any plugins */
if (is_array($pluginOrder)) {
foreach ($pluginOrder as $plugin) {

View file

@ -3,5 +3,4 @@
* $Id$
*/
cInclude("includes", "functions.general.php");
scanPlugins("frontendusers");
?>
scanPlugins("frontendusers");