diff --git a/mailpoet/lib/Automation/Engine/Data/AutomationRunLog.php b/mailpoet/lib/Automation/Engine/Data/AutomationRunLog.php index 85e499d0ee..c5e08b6540 100644 --- a/mailpoet/lib/Automation/Engine/Data/AutomationRunLog.php +++ b/mailpoet/lib/Automation/Engine/Data/AutomationRunLog.php @@ -142,10 +142,6 @@ class AutomationRunLog { /** @param mixed $data */ private function isDataStorable($data): bool { - if (is_object($data)) { - return false; - } - if (is_scalar($data)) { return true; } @@ -159,7 +155,6 @@ class AutomationRunLog { return false; } } - return true; } }