code/plugins/system/joomlatools/script.php
public function bootFramework()
    {
        if (class_exists('Koowa')) {
            return true;
        }

        $path = JPATH_PLUGINS.'/system/joomlatools/joomlatools.php';

        if (!file_exists($path)) {
            return false;
        }

        require_once $path;

        $dispatcher = JEventDispatcher::getInstance();
        $className  = 'PlgSystemJoomlatools';

        // Constructor does all the work in the plugin
        if (class_exists($className))
        {
            $db = JFactory::getDbo();
            $db->setQuery(/** @lang text */"SELECT folder AS type, element AS name, params
			 FROM #__extensions
			 WHERE folder = 'system' AND element = 'joomlatools'"
            );
            $plugin = $db->loadObject();

            new $className($dispatcher, (array) ($plugin));
        }

        return class_exists('Koowa');
    }
public function bootFramework()
    {
        if (class_exists('Koowa')) {
            return true;
        }

        $path = JPATH_PLUGINS.'/system/joomlatools/joomlatools.php';

        if (!file_exists($path)) {
            return false;
        }

        require_once $path;

        $dispatcher = JEventDispatcher::getInstance();
        $className  = 'PlgSystemJoomlatools';

        // Constructor does all the work in the plugin
        if (class_exists($className))
        {
            $db = JFactory::getDbo();
            $db->setQuery(/** @lang text */"SELECT folder AS type, element AS name, params
			 FROM #__extensions
			 WHERE folder = 'system' AND element = 'joomlatools'"
            );
            $plugin = $db->loadObject();

            new $className($dispatcher, (array) ($plugin));
        }

        return class_exists('Koowa');
    }
public function bootFramework ( ) { if ( class_exists ( 'Koowa' ) ) { return true ; } $ path = JPATH_PLUGINS . '/system/joomlatools/joomlatools.php' ; if ( ! file_exists ( $ path ) ) { return false ; } require_once $ path ; $ dispatcher = JEventDispatcher :: getInstance ( ) ; $ className = 'PlgSystemJoomlatools' ; // Constructor does all the work in the plugin if ( class_exists ( $ className ) ) { $ db = JFactory :: getDbo ( ) ; $ db -> setQuery ( /** @lang text */ "SELECT folder AS type, element AS name, params
			 FROM #__extensions
			 WHERE folder = 'system' AND element = 'joomlatools'" ) ; $ plugin = $ db -> loadObject ( ) ; new $ className ( $ dispatcher , ( array ) ( $ plugin ) ) ; } return class_exists ( 'Koowa' ) ; }
Can't use JPluginHelper here since there is no way
of clearing the cached list of plugins.

@return bool
Can t use JPluginHelper here since there is no way of clearing the cached list of plugins .