Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,6 @@ public function save($data)
*/
public function removeroot()
{
$app = Factory::getApplication();

// Get the previous configuration.
$prev = new \JConfig();
$prev = ArrayHelper::fromObject($prev);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ public function display($tpl = null)
*/
protected function addToolbar()
{
$state = $this->state;
$canDo = ContentHelper::getActions('com_messages');
$user = $this->getCurrentUser();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ public function display($tpl = null): void
protected function addToolbar(): void
{
$canDo = ContentHelper::getActions('com_scheduler');
$user = Factory::getApplication()->getIdentity();
$toolbar = Toolbar::getInstance();

ToolbarHelper::title(Text::_('COM_SCHEDULER_FIELDSET_EXEC_HIST'), 'list');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ public function getCoreList()
// Initialize the array variable to store core file list.
$this->coreFileList = [];

$app = Factory::getApplication();

foreach ($templates as $template) {
$client = ApplicationHelper::getClientInfo($template->client_id);
$element = Path::clean($client->path . '/templates/' . $template->element . '/');
Expand Down Expand Up @@ -473,7 +471,6 @@ public function getDirectoryTree($dir)
*/
public function getCoreFile($file, $client_id)
{
$app = Factory::getApplication();
$filePath = Path::clean($file);
$explodeArray = explode(DIRECTORY_SEPARATOR, $filePath);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ public function __construct(array $config = [], ?MVCFactoryInterface $factory =
*/
public function callback($cachable = false, $urlparams = false): void
{
$app = $this->app;

// Get the Method and make sure it's non-empty
$method = $this->input->getCmd('method', '');

Expand Down