Skip to content

Commit eb31039

Browse files
committed
Remove hardcoded unlimited budget check for advertiser
1 parent 94c72dc commit eb31039

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Atomx/Resources/Advertiser.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ public function setBudget($budget)
3232
{
3333
$budget = intval($budget);
3434

35-
if ($budget <= 0)
36-
throw new InvalidArgumentException('API: Trying to set an advertiser budget to unlimited (0)');
37-
3835
$this->budget = $budget;
3936
}
4037

0 commit comments

Comments
 (0)