Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Rename a protected member in JInstallerLanguage #1056

Merged
merged 1 commit into from Mar 27, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions libraries/joomla/installer/adapters/language.php
Expand Up @@ -24,9 +24,9 @@ class JInstallerLanguage extends JAdapterInstance
* Core language pack flag
*
* @var boolean
* @since 11.1
* @since 12.1
*/
protected $_core = false;
protected $core = false;

/**
* Custom install method
Expand Down Expand Up @@ -125,14 +125,14 @@ protected function _install($cname, $basePath, $clientId, &$element)
{
if ((string) $file->attributes()->file == 'meta')
{
$this->_core = true;
$this->core = true;
break;
}
}
}

// Either we are installing a core pack or a core pack must exist for the language we are installing.
if (!$this->_core)
if (!$this->core)
{
if (!JFile::exists($this->parent->getPath('extension_site') . '/' . $this->get('tag') . '.xml'))
{
Expand Down Expand Up @@ -323,14 +323,14 @@ public function update()
{
if ((string) $file->attributes()->file == 'meta')
{
$this->_core = true;
$this->core = true;
break;
}
}
}

// Either we are installing a core pack or a core pack must exist for the language we are installing.
if (!$this->_core)
if (!$this->core)
{
if (!JFile::exists($this->parent->getPath('extension_site') . '/' . $this->get('tag') . '.xml'))
{
Expand Down