https://api.drupal.org/api/drupal/core%21modules%21forum%21forum.install...
https://api.drupal.org/api/drupal/core%21modules%21simpletest%21simplete...
Since taxonomy module can't be disabled (only enabled or uninstalled), that's no longer necessary to manually load the .module file, same for simpletest.
Remaining tasks:
Delete those lines of code and file a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | interdiff-2159911-10-14.txt | 1.07 KB | internetdevels |
| #14 | drupal-core-remove-drupal_load-using-2159911-14.patch | 1.87 KB | internetdevels |
Comments
Comment #1
catchComment #2
ParisLiakos commenteddoesnt make sense indeed
Comment #3
internetdevels commentedHi! I've checked all remaining places where drupal_load() is called and looks like there is no sense in calling it. So I've decided to remove it all remaining places of the drupal_load() usage.
Comment #4
internetdevels commentedComment #6
internetdevels commentedComment #8
ianthomas_ukComment #9
internetdevels commentedOne more try...
Comment #10
internetdevels commentedSo it seems that not all drupal_loads was pointless even Drupal installation succeeded without them. I've tested locally different variations of Drupal installation and everything was ok, but testbot fails without these drupal_loads. Here is patch which removes calls mentioned in #2 and changes remaining ones to ModuleHandler::load().
Comment #11
internetdevels commented6: drupal-core-remove-drupal_load-using-2159911-6.patch queued for re-testing.
Comment #13
sunComment module cannot be uninstalled prior to Forum module, because Forum module depends on Comment module, so this load is obsolete.
(the code comment is obsolete too, since modules also cannot be disabled anymore)
This one should be completely obsolete, since the test defines/enables 'file_test' module via $modules already.
Comment #14
internetdevels commented@sun, thanks for the review! But actually I've tried this in my first patch and it failed tests. Here I've created a re-roll for it, cause it is not applicable yet, let's see what testbot says.
Comment #15
sunComment #16
catchCommitted/pushed to 8.x, thanks!