Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi!
In rotating_banner.module, the following code is duplicated (at lines 38-45 and 47-54)
$items['admin/structure/rotating_banner/slide/%rotating_banner_slide/delete'] = array(
'title' => 'Create new slide',
'description' => 'Creates a new rotating banner slide.',
'page callback' => 'drupal_get_form',
'page arguments' => array('rotating_banner_slide_delete_confirm', 4),
'access arguments' => array('administer blocks'),
'file' => 'rotating_banner.admin.inc',
);
Cheers
Franck Horlaville
TAM Software
Comment | File | Size | Author |
---|---|---|---|
#1 | _rotating_banner-1210084-clean-duplicate-delete-code.patch | 3.16 KB | tamsoftware |
Comments
Comment #1
tamsoftware CreditAttribution: tamsoftware commentedHere's the patch file
Comment #2
tamsoftware CreditAttribution: tamsoftware commentedUpdate: I see that my patch files also includes the patch for fixing z-index error which I submitted in http://drupal.org/node/1209712 and the patch to add the randomize feature from http://drupal.org/node/1210078