Merge "Revert "Convert Special:EmailUser to use OOUIHTMLForm""
[lhc/web/wiklou.git] / includes / htmlform / HTMLForm.php
index ee7faa5..2282dc2 100644 (file)
@@ -1222,8 +1222,6 @@ class HTMLForm extends ContextSource {
         */
        public function setSubmitDestructive() {
                $this->mSubmitFlags = array( 'destructive', 'primary' );
-
-               return $this;
        }
 
        /**
@@ -1232,8 +1230,6 @@ class HTMLForm extends ContextSource {
         */
        public function setSubmitProgressive() {
                $this->mSubmitFlags = array( 'progressive', 'primary' );
-
-               return $this;
        }
 
        /**