From cee05be016c863b9afa37ea780575680284a2bed Mon Sep 17 00:00:00 2001 From: wilsonge Date: Tue, 15 Apr 2014 00:38:23 +0100 Subject: [PATCH] Add some fixes --- libraries/cms/helper/extensionscript.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libraries/cms/helper/extensionscript.php b/libraries/cms/helper/extensionscript.php index 13e6a17100984..371f5e61dbf56 100644 --- a/libraries/cms/helper/extensionscript.php +++ b/libraries/cms/helper/extensionscript.php @@ -7,18 +7,17 @@ * @license GNU General Public License version 2 or later; see LICENSE.txt */ -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); +defined('_JEXEC') or die; jimport('joomla.filesystem.file'); jimport('joomla.filesystem.folder'); /** - * Helper class to aid with modules installing. + * Helper class to aid with extension installs. * * @since 3.4 */ -class JExtensionscriptHelper +class JHelperExtensionscript { /** * @var string The version number of the module. @@ -74,7 +73,7 @@ class JExtensionscriptHelper protected $allowDowngrades = false; /** - * Function called before module installation/update/removal procedure commences + * Function called before extension installation/update/removal procedure commences * * @param string $type The type of change (install, update or discover_install, * not uninstall)