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 deprecated disableMagicQuotes method #3021

Merged
merged 1 commit into from Jan 22, 2020
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
7 changes: 0 additions & 7 deletions src/Backend/Init.php
Expand Up @@ -16,11 +16,4 @@ public function __construct(KernelInterface $kernel)

parent::__construct($kernel);
}

public function initialize(string $type): void
{
parent::initialize($type);

SpoonFilter::disableMagicQuotes();
}
}
10 changes: 0 additions & 10 deletions src/Frontend/Init.php
Expand Up @@ -8,14 +8,4 @@
class Init extends \Common\Core\Init
{
protected $allowedTypes = ['Frontend', 'FrontendAjax'];

/**
* @param string $type The type of init to load, possible values are: frontend, frontend_ajax, frontend_js.
*/
public function initialize(string $type): void
{
parent::initialize($type);

\SpoonFilter::disableMagicQuotes();
}
}