Posted by Xano on August 11, 2009 at 1:35am
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | system.module |
| Category: | task |
| Priority: | normal |
| Assigned: | Xano |
| Status: | needs work |
| Issue tags: | makenodeoptional |
Issue Summary
The attached patch makes System independent from Node. It is split off from #375397: Make Node module optional.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| node_decouple_system_03.patch | 16.65 KB | Idle | Failed: Invalid PHP syntax in modules/system/system.admin.inc. | View details | Re-test |
Comments
#1
The last submitted patch failed testing.
#2
#3
The last submitted patch failed testing.
#4
#5
+ 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...
#6
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.
#7
The last submitted patch failed testing.
#8
Fixed the bug and integrated the patch with #510782: Installer links to help module and other pages even when they are not available.
#9
The last submitted patch failed testing.
#10
#11
Definitely a D8 idea...
#12
http://buytaert.net/8-steps-for-drupal-8 let's stop saying smallcore.