Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Dec 2013 at 15:29 UTC
Updated:
29 Jul 2014 at 23:13 UTC
Jump to comment: Most recent, Most recent file
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!