The attached patch makes System independent from Node. It is split off from #375397: Make Node module optional.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch failed testing.

Xano’s picture

Status: Needs work » Needs review
FileSize
16.68 KB

Status: Needs review » Needs work

The last submitted patch failed testing.

Xano’s picture

Status: Needs work » Needs review
FileSize
19.51 KB
Berdir’s picture

Status: Needs review » Needs work
+  db_query("DELETE FROM {variable} WHERE name LIKE 'node_%'");

That should be a db_delete() :)

+  variable_set('node_options_forum', array(0 => 'status'));

Hm.. I think that should actually be in forum.module ?

+      ->condition('link_title', array('Menu link #1-1', 'Menu link #2'), 'IN')

IN should be the default for an array, not necessary...

Xano’s picture

Status: Needs work » Needs review
FileSize
19.29 KB

Grepping for "node_options_forum" only shows system.install. You're right, but it I think we're safe to remove that variable altogether in another patch.

Status: Needs review » Needs work

The last submitted patch failed testing.

Xano’s picture

Status: Needs work » Needs review
FileSize
19.07 KB

Status: Needs review » Needs work

The last submitted patch failed testing.

eaton’s picture

joshmiller’s picture

Version: 7.x-dev » 8.x-dev

Definitely a D8 idea...

chx’s picture

http://buytaert.net/8-steps-for-drupal-8 let's stop saying smallcore.

amateescu’s picture

Status: Needs work » Closed (works as designed)
Issue tags: -makenodeoptional

I believe this has been addressed in #375397: Make Node module optional.

Xano’s picture

Assigned: Xano » Unassigned