Move throttling out of the Subscriber model to the API 'subscribe' method [MAILPOET-1115]
This commit is contained in:
committed by
pavel-mailpoet
parent
8a91eb46e6
commit
9f5fc151b4
@@ -146,4 +146,9 @@ class Helpers {
|
||||
return explode(self::DIVIDER, $object);
|
||||
}
|
||||
|
||||
static function getIP() {
|
||||
return (isset($_SERVER['REMOTE_ADDR']))
|
||||
? $_SERVER['REMOTE_ADDR']
|
||||
: null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user