X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FInvoke.php;h=9f9a8b776b56d23b77fa2bc666be70836dccf9a8;hb=eab346ed9a1ce7948dad99ef6e69b8772d4a0eb4;hp=9a9e04a9327b3000f32cb11bce2ce897acd574ca;hpb=518fa0ee1556723e8e67e02a59e8e7f51ed76f6b;p=civicrm-core.git diff --git a/CRM/Core/Invoke.php b/CRM/Core/Invoke.php index 9a9e04a932..9f9a8b776b 100644 --- a/CRM/Core/Invoke.php +++ b/CRM/Core/Invoke.php @@ -80,7 +80,6 @@ class CRM_Core_Invoke { // may exit self::hackMenuRebuild($args); self::init($args); - self::hackStandalone($args); $item = self::getItem($args); return self::runItem($item); } @@ -140,26 +139,6 @@ class CRM_Core_Invoke { $i18n = CRM_Core_I18n::singleton(); } - /** - * Hackish support for /standalone/* - * - * @param array $args - * List of path parts. - * @void - */ - public static function hackStandalone($args) { - $config = CRM_Core_Config::singleton(); - if ($config->userFramework == 'Standalone') { - $session = CRM_Core_Session::singleton(); - if ($session->get('new_install') !== TRUE) { - CRM_Core_Standalone::sidebarLeft(); - } - elseif ($args[1] == 'standalone' && $args[2] == 'register') { - CRM_Core_Menu::store(); - } - } - } - /** * Determine which menu $item corresponds to $args *