diff --git a/application/controllers/ConfigController.php b/application/controllers/ConfigController.php index 03750fe24..c65298377 100644 --- a/application/controllers/ConfigController.php +++ b/application/controllers/ConfigController.php @@ -315,8 +315,6 @@ class ConfigController extends Controller { $this->assertPermission('config/application/resources'); $this->view->resources = Config::app('resources', true); - $configResource = Config::app()->get('global', 'config_resource'); - $this->view->unremovableResources = $configResource === null ? array() : array($configResource); $this->createApplicationTabs()->activate('resource'); } diff --git a/application/views/scripts/config/resource.phtml b/application/views/scripts/config/resource.phtml index 82f7af0cf..ec9c0c7ea 100644 --- a/application/views/scripts/config/resource.phtml +++ b/application/views/scripts/config/resource.phtml @@ -58,20 +58,16 @@ ) ?> - qlink( - '', - 'config/removeresource', - array('resource' => $name), - array( - 'class' => 'action-link', - 'icon' => 'cancel', - 'title' => sprintf($this->translate('Remove resource %s'), $name) - ) - ); - } - ?> + qlink( + '', + 'config/removeresource', + array('resource' => $name), + array( + 'class' => 'action-link', + 'icon' => 'cancel', + 'title' => sprintf($this->translate('Remove resource %s'), $name) + ) + ) ?>