Skip to content
Snippets Groups Projects
Commit 8523aca3 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #650944 by catch: use db_truncate() in _menu_router_save().

parent 1b01b241
No related branches found
No related tags found
No related merge requests found
......@@ -3180,7 +3180,7 @@ function _menu_router_build($callbacks) {
*/
function _menu_router_save($menu, $masks) {
// Delete the existing router since we have some data to replace it.
db_delete('menu_router')->execute();
db_truncate('menu_router')->execute();
// Prepare insert object.
$insert = db_insert('menu_router')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment