toolbar_install() creates the admin_shortcuts menu,
there should be a toolbar_uninstall() that removes it.
Currently, reinstalling toolbar with devel.module causes a fatal error:
"Duplicate entry 'admin_shortcuts' for key 1"
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 526818-toolbar-uninstall-missing-3.patch | 531 bytes | davyvdb |
| #2 | 526818-toolbar-uninstall-missing-2.patch | 1.82 KB | clemens.tolboom |
| #1 | 526818-toolbar-uninstall-missing.patch | 1.93 KB | davyvdb |
Comments
Comment #1
davyvdb commentedComment #2
clemens.tolboom* Fixed some tabs
* Removed function todo
* Added empty line EOF
I'm not sure how long lines may be ... 255 chars seems a little too long :)
Code seems to work fine.
Comment #3
davyvdb commentedComment #4
clemens.tolboomJust changing the status does not help much ... do you agree / disagree with my patch ? Long line ?
If yes this could be RTBCed :)
Comment #5
davyvdb commentedIt's just my patch + code cleanup. So yes I agree :D
Comment #6
webchickUm. Ick. :) Let's please make an API function for this and call it from both here and http://api.drupal.org/api/function/menu_delete_menu_confirm_submit/7.
Comment #7
alexanderpas commentedsubscribe
Comment #8
webchick#473082: Add custom menu API adds the menu API function we need. Marking postponed on that.
Comment #9
asimmonds commented#473082: Add custom menu API was committed on 9th Oct. Marking needs work.
Comment #10
davyvdb commentedThis patch uses the menu api.
Comment #13
alexanderpas commentedThis needs some tests.
Comment #16
David_Rothstein commentedThis is no longer relevant - the toolbar module does not install anything anymore.