mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
Fix some naming errors and code cleanup
This commit is contained in:
parent
3fa9592e6d
commit
b48a788430
3 changed files with 5 additions and 12 deletions
|
@ -15,18 +15,18 @@ class NewsletterSubscriber extends PropertiesBase{
|
|||
public $IsSubscribedToSummary = true;
|
||||
public $IsSubscribedToNewsletter = true;
|
||||
public $Created;
|
||||
protected $Url = null;
|
||||
protected $_Url = null;
|
||||
|
||||
// *******
|
||||
// GETTERS
|
||||
// *******
|
||||
|
||||
protected function GetUrl(): string{
|
||||
if($this->Url === null){
|
||||
$this->Url = SITE_URL . '/newsletter/subscribers/' . $this->Uuid;
|
||||
if($this->_Url === null){
|
||||
$this->_Url = SITE_URL . '/newsletter/subscribers/' . $this->Uuid;
|
||||
}
|
||||
|
||||
return $this->Url;
|
||||
return $this->_Url;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue