Remove dead assignment

This commit is contained in:
jeroendedauw 2015-07-31 21:49:41 +02:00
parent 1532eeb69e
commit 88c5e7f6e2

View File

@ -829,9 +829,6 @@ class Form extends RequestHandler {
public function getAttributesHTML($attrs = null) {
$exclude = (is_string($attrs)) ? func_get_args() : null;
if(!$attrs || is_string($attrs)) $attrs = $this->getAttributes();
// Figure out if we can cache this form
// - forms with validation shouldn't be cached, cos their error messages won't be shown
// - forms with security tokens shouldn't be cached because security tokens expire