]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Submit.class.php
Refactoring - removed not used default parameters from constructors.
[timetracker.git] / WEB-INF / lib / form / Submit.class.php
index 91123c5519a34c4a8708f664069f2e0be5b6a8e1..35eb6df3df54f9bfe5a0ea1577b0903ff79d97f0 100644 (file)
@@ -30,11 +30,10 @@ import('form.FormElement');
        
 class Submit extends FormElement {
 
-  function __construct($name, $value = '')
+  function __construct($name)
   {
     $this->class = 'Submit';
     $this->name = $name;
-    $this->value = $value;
   }
 
   function getHtml() {