Jake Vanderwerf
2025-12-21 3aada9949d51024a92a8b5c6cb70d12f9c3cac16
inc/managers/FormManager.php
@@ -8,6 +8,7 @@
    exit; // Exit if accessed directly
}
/**
 * TODO: this is old, I think.
 * Form Manager Class
 * Mainly used for front-end forms.
 * Handles form rendering and processing using MetaManager
@@ -46,7 +47,7 @@
        $this->turnstile_site_key = JVB_CLOUDFLARE_SITE_KEY;
        $this->turnstile_secret_key = JVB_CLOUDFLARE_SECRET_KEY;
        $this->meta = new MetaManager(null, 'form');
        $this->cache = new CacheManager('forms', WEEK_IN_SECONDS);
        $this->cache = CacheManager::for('forms', WEEK_IN_SECONDS);
    }
    /**
@@ -393,7 +394,7 @@
        }
        // Send email
        return jvbMail($to, $subject, $body, $headers);
        return JVB()->email()->sendEmail($to, $subject, $body, $headers);
    }
    /**