From: Coleman Watts Date: Sat, 13 Apr 2013 20:27:38 +0000 (-0700) Subject: Code cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=013e44b24eecbc3e44cf315aaddba0863c8786d6;p=civicrm-core.git Code cleanup --- diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index ed61a2c5d8..d3515ee31a 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -240,10 +240,8 @@ class CRM_UF_Page_Group extends CRM_Core_Page { if ($config->userFramework == 'Joomla') { $profile = str_replace('/administrator/', '/index.php', $profile); } - else { - if ($config->userFramework == 'WordPress') { - $profile = str_replace('/wp-admin/admin.php', '/index.php', $profile); - } + elseif ($config->userFramework == 'WordPress') { + $profile = str_replace('/wp-admin/admin.php', '/index.php', $profile); } // add jquery files