mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-28 01:00:02 +00:00
Merge "Remove legacy handling for EditFilterMergedContent hook"
This commit is contained in:
commit
6e047225cc
|
@ -24,7 +24,6 @@ namespace MediaWiki\Extension\Gadgets;
|
|||
*/
|
||||
|
||||
use Content;
|
||||
use EditPage;
|
||||
use Exception;
|
||||
use HTMLForm;
|
||||
use IContextSource;
|
||||
|
@ -330,8 +329,6 @@ class Hooks implements
|
|||
$validateStatus = $content->validate();
|
||||
if ( !$validateStatus->isGood() ) {
|
||||
$status->merge( $validateStatus );
|
||||
// @todo Remove this line after this extension do not support mediawiki version 1.36 and before
|
||||
$status->value = EditPage::AS_HOOK_ERROR_EXPECTED;
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue