Commit 76892513 authored by katbailey's avatar katbailey
Browse files

Adding/modifying some todos

parent 73fee52a
...@@ -1412,6 +1412,7 @@ function install_bootstrap_full(&$install_state) { ...@@ -1412,6 +1412,7 @@ function install_bootstrap_full(&$install_state) {
// Clear the module list that was overriden earlier in the process. // Clear the module list that was overriden earlier in the process.
// This will allow all freshly installed modules to be loaded. // This will allow all freshly installed modules to be loaded.
module_list_reset(); module_list_reset();
// @todo Figure out how best to handle the Kernel constructor parameters.
$kernel = new DrupalKernel('prod', FALSE); $kernel = new DrupalKernel('prod', FALSE);
$kernel->boot(); $kernel->boot();
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
......
...@@ -23,9 +23,8 @@ public function registerBundles() { ...@@ -23,9 +23,8 @@ public function registerBundles() {
new CoreBundle(), new CoreBundle(),
); );
// TODO: Somehow remove the necessity of calling system_list() to find out which // TODO: Remove the necessity of calling system_list() to find out which
// bundles exist. // bundles exist. See http://drupal.org/node/1331486
$modules = array_keys(system_list('module_enabled')); $modules = array_keys(system_list('module_enabled'));
foreach ($modules as $module) { foreach ($modules as $module) {
$camelized = ContainerBuilder::camelize($module); $camelized = ContainerBuilder::camelize($module);
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
require_once DRUPAL_ROOT . '/core/includes/bootstrap.inc'; require_once DRUPAL_ROOT . '/core/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE); drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE);
// @todo Figure out how best to handle the Kernel constructor parameters.
$kernel = new DrupalKernel('prod', FALSE); $kernel = new DrupalKernel('prod', FALSE);
// Create a request object from the HTTPFoundation. // Create a request object from the HTTPFoundation.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment