Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 4e8102d

Browse files
author
Jamie Snape
committed
Fix style issues with some forms
1 parent 98d4437 commit 4e8102d

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

modules/mail/forms/Admin.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,12 @@
2121
/** Admin form for the mail module. */
2222
class Mail_Form_Admin extends Zend_Form
2323
{
24+
/** Initialize this form. */
2425
public function init()
2526
{
2627
$this->setName('mail_config');
2728
$this->setMethod('POST');
2829

29-
// $csrf = new Zend_Form_Element_Hash('mail_csrf');
30-
// $csrf->setSalt('PIYXLxz3eNkhaXJiJqvMNzjOhlWn2hPM');
31-
// $csrf->setTimeout(3600);
32-
3330
$provider = new Zend_Form_Element_Select('provider');
3431
$provider->setLabel('Provider');
3532
$provider->setRequired(true);

modules/mail/tests/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@
2020
set(module_name mail)
2121
to_titlecase(${module_name} module_name_titlecase)
2222

23-
add_midas_style_test(Style${module_name_titlecase}AppController ${CMAKE_SOURCE_DIR}/modules/${module_name}/AppController.php)
24-
add_midas_style_test(Style${module_name_titlecase}Controllers ${CMAKE_SOURCE_DIR}/modules/${module_name}/controllers)
25-
add_midas_style_test(Style${module_name_titlecase}Notification ${CMAKE_SOURCE_DIR}/modules/${module_name}/Notification.php)
23+
add_midas_style_test(Style${module_name_titlecase} ${CMAKE_SOURCE_DIR}/modules/${module_name})

modules/thumbnailcreator/forms/Admin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
/** Admin form for the thumbnailcreator module. */
2222
class Thumbnailcreator_Form_Admin extends Zend_Form
2323
{
24+
/** Initialize this form. */
2425
public function init()
2526
{
2627
$this->setName('thumbnailcreator_config');

0 commit comments

Comments
 (0)