Skip to content
  • Dries Buytaert's avatar
    - Patch #52265 by Zen: converted filter.module to file API: · 650f22bc
    Dries Buytaert authored
        * Converts filter.module to the fapi model (besides filter_admin_overview which has already been done.)
        * On the format edit screen, updates to the roles fieldset were being mangled with the previous code. The previous code relied on only checked checkboxes being returned. Fapi for some reason decides to insert non-checked items as well with values 0.
        * Makes the name field a UNIQUE field. DB and update patches included. Having a duplicate format name completely b0rks things.
        * Adds check_plain to the format name in admin_overview.
        * Removes unnecessary #type => 'markup'.
        * Moves hook_menu to below hook_help.
        * drupal_goto -> return.
    650f22bc