Ejemplo n.º 1
0
 /**
  * Checks to see if any anti-spam functionality is enabled
  * @static
  * @return bool True if plugin-hooks or recaptcha is enabled
  */
 public static function isActive()
 {
     if (\gp\tool\Plugins::HasHook('AntiSpam_Form') && \gp\tool\Plugins::HasHook('AntiSpam_Check')) {
         return true;
     }
     return self::hasRecaptcha();
 }