Hooks#EditPageBeforeEditToolbar: Return false so that other toolbars aren't loaded

Change-Id: I5e755ef5dffb843368563511044d3123f14dc4bc
This commit is contained in:
James D. Forrester 2017-04-26 16:15:54 -07:00
parent 25d64833dd
commit cb60c06bdc

View file

@ -277,6 +277,9 @@ class WikiEditorHooks {
],
$toolbar
);
// Return false to signify that the toolbar has been over-written, so
// the old toolbar code shouldn't be added to the page.
return false;
}
return true;
}