Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of unused code #654

Merged
merged 1 commit into from
Nov 29, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 0 additions & 15 deletions AdminSelfUpgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,21 +522,6 @@ public function display()
parent::display();
}

/**
* @deprecated
* Method allowing errors on very old tabs to be displayed.
* On the next major of this module, use an admin controller and get rid of this.
*
* This method is called by functions.php available in the admin root folder.
*/
public function displayErrors()
{
if (empty($this->_errors)) {
return;
}
echo implode(' - ', $this->_errors);
}

/**
* Adapter for trans calls, existing only on PS 1.7.
* Making them available for PS 1.6 as well.
Expand Down
1 change: 0 additions & 1 deletion ajax-upgradetabconfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ function autoupgrade_init_container($callerFilePath)
}

define('AUTOUPGRADE_MODULE_DIR', _PS_MODULE_DIR_ . 'autoupgrade' . DIRECTORY_SEPARATOR);
require_once AUTOUPGRADE_MODULE_DIR . 'functions.php';
require_once AUTOUPGRADE_MODULE_DIR . 'vendor/autoload.php';

$dir = Tools14::safeOutput(Tools14::getValue('dir'));
Expand Down