Commit 8523aca3 authored by Dries's avatar Dries

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

parent 1b01b241
......@@ -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')
......
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