Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Remove help #35

Merged
merged 2 commits into from
May 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions administrator/components/com_admin/models/forms/profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@
<option value="">JOPTION_USE_DEFAULT</option>
</field>

<field name="helpsite" type="helpsite"
label="COM_ADMIN_USER_FIELD_HELPSITE_LABEL"
description="COM_ADMIN_USER_FIELD_HELPSITE_DESC"
>
<option value="">JOPTION_USE_DEFAULT</option>
</field>

<field name="timezone" type="timezone"
label="COM_ADMIN_USER_FIELD_TIMEZONE_LABEL"
description="COM_ADMIN_USER_FIELD_TIMEZONE_DESC"
Expand Down
212 changes: 0 additions & 212 deletions administrator/components/com_admin/models/help.php

This file was deleted.

2 changes: 0 additions & 2 deletions administrator/components/com_admin/script.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ public function deleteUnexistingFiles()
'/libraries/joomla/form/fields/templatestyle.php',
'/libraries/joomla/form/fields/user.php',
'/libraries/joomla/form/fields/menu.php',
'/libraries/joomla/form/fields/helpsite.php',
'/administrator/components/com_admin/sql/updates/mysql/1.7.0.sql',
'/administrator/components/com_users/controllers/config.php',
'/administrator/language/en-GB/en-GB.plg_system_finder.ini',
Expand Down Expand Up @@ -474,7 +473,6 @@ public function deleteUnexistingFiles()
'/libraries/joomla/html/parameter/element/editors.php',
'/libraries/joomla/html/parameter/element/filelist.php',
'/libraries/joomla/html/parameter/element/folderlist.php',
'/libraries/joomla/html/parameter/element/helpsites.php',
'/libraries/joomla/html/parameter/element/hidden.php',
'/libraries/joomla/html/parameter/element/imagelist.php',
'/libraries/joomla/html/parameter/element/index.html',
Expand Down
1 change: 0 additions & 1 deletion administrator/components/com_admin/views/help/index.html

This file was deleted.

40 changes: 0 additions & 40 deletions administrator/components/com_admin/views/help/tmpl/default.php

This file was deleted.

This file was deleted.

75 changes: 0 additions & 75 deletions administrator/components/com_admin/views/help/view.html.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,6 @@ class ConfigControllerApplicationRefreshhelp extends JControllerBase
*/
public function execute()
{
jimport('joomla.filesystem.file');

// Set FTP credentials, if given
JClientHelper::setCredentialsFromRequest('ftp');

if (($data = file_get_contents('http://help.joomla.org/helpsites.xml')) === false)
{
$this->app->enqueueMessage(JText::_('COM_CONFIG_ERROR_HELPREFRESH_FETCH'), 'error');
$this->app->redirect(JRoute::_('index.php?option=com_config', false));
}
elseif (!JFile::write(JPATH_BASE . '/help/helpsites.xml', $data))
{
$this->app->enqueueMessage(JText::_('COM_CONFIG_ERROR_HELPREFRESH_ERROR_STORE'), 'error');
$this->app->redirect(JRoute::_('index.php?option=com_config', false));
}
else
{
$this->app->enqueueMessage(JText::_('COM_CONFIG_HELPREFRESH_SUCCESS'), 'error');
$this->app->redirect(JRoute::_('index.php?option=com_config', false));
}
}
}
Loading