]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Checkbox.class.php
Refactoring - removed not used default parameters from constructors.
[timetracker.git] / WEB-INF / lib / form / Checkbox.class.php
index 999bff873e741585d45f8a0b927ce4892f7324f6..c27cab24c8a1705cfbc0bc2694fbf0b3b26a2528 100644 (file)
@@ -32,10 +32,9 @@ class Checkbox extends FormElement {
   var $checked = false;
     var $mOptions      = null;
 
-  function __construct($name, $value = '') {
+  function __construct($name) {
     $this->class = 'Checkbox';
     $this->name = $name;
-    $this->value = $value;
   }
 
        function setChecked($value) { $this->checked = $value; }