Skip to content

Commit

Permalink
Remove unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Jan 10, 2025
1 parent ed65425 commit 7a784b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion pluginEnvironmentChecker/Constraints/PluginConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public function __construct($requiredVersion, $requiredPluginName, $pluginDispla
*/
public function check()
{
$pluginSlug = "{$this->requiredPluginName}/{$this->requiredPluginName}.php";
$pathToPluginFile = $this->absolutePathToPlugin();
if (!$pathToPluginFile) {
// phpcs:disable WordPress.Security.EscapeOutput.ExceptionNotEscaped
Expand Down
4 changes: 0 additions & 4 deletions src/Activation/ActivationModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ protected function markUpdatedOrNew()
*/
public function pluginInit()
{

load_plugin_textdomain(
'mollie-payments-for-woocommerce'
);
$this->markUpdatedOrNew();
$this->initDb();
}
Expand Down

0 comments on commit 7a784b3

Please sign in to comment.