Rename method and variables for clarity
[MAILPOET-2624]
This commit is contained in:
committed by
Jack Kitterhing
parent
5d59f53834
commit
d2494469c0
@@ -33,12 +33,12 @@ class Subscribers {
|
||||
return $subscribers_count > $limit;
|
||||
}
|
||||
|
||||
public function hasAPIKey() {
|
||||
public function hasValidApiKey() {
|
||||
return $this->hasValidMssKey() || $this->hasValidPremiumKey();
|
||||
}
|
||||
|
||||
public function getSubscribersLimit() {
|
||||
if (!$this->hasAPIKey()) {
|
||||
if (!$this->hasValidApiKey()) {
|
||||
return $this->getFreeSubscribersLimit();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user