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

Commit

Permalink
Fix style issues with some forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Nov 7, 2014
1 parent 98d4437 commit 4e8102d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
5 changes: 1 addition & 4 deletions modules/mail/forms/Admin.php
Expand Up @@ -21,15 +21,12 @@
/** Admin form for the mail module. */
class Mail_Form_Admin extends Zend_Form
{
/** Initialize this form. */
public function init()
{
$this->setName('mail_config');
$this->setMethod('POST');

// $csrf = new Zend_Form_Element_Hash('mail_csrf');
// $csrf->setSalt('PIYXLxz3eNkhaXJiJqvMNzjOhlWn2hPM');
// $csrf->setTimeout(3600);

$provider = new Zend_Form_Element_Select('provider');
$provider->setLabel('Provider');
$provider->setRequired(true);
Expand Down
4 changes: 1 addition & 3 deletions modules/mail/tests/CMakeLists.txt
Expand Up @@ -20,6 +20,4 @@
set(module_name mail)
to_titlecase(${module_name} module_name_titlecase)

add_midas_style_test(Style${module_name_titlecase}AppController ${CMAKE_SOURCE_DIR}/modules/${module_name}/AppController.php)
add_midas_style_test(Style${module_name_titlecase}Controllers ${CMAKE_SOURCE_DIR}/modules/${module_name}/controllers)
add_midas_style_test(Style${module_name_titlecase}Notification ${CMAKE_SOURCE_DIR}/modules/${module_name}/Notification.php)
add_midas_style_test(Style${module_name_titlecase} ${CMAKE_SOURCE_DIR}/modules/${module_name})
1 change: 1 addition & 0 deletions modules/thumbnailcreator/forms/Admin.php
Expand Up @@ -21,6 +21,7 @@
/** Admin form for the thumbnailcreator module. */
class Thumbnailcreator_Form_Admin extends Zend_Form
{
/** Initialize this form. */
public function init()
{
$this->setName('thumbnailcreator_config');
Expand Down

0 comments on commit 4e8102d

Please sign in to comment.