🧹 code cleanup
This commit is contained in:
parent
9b45d4a1fa
commit
2f1e5721c1
7 changed files with 18 additions and 36 deletions
|
@ -677,19 +677,16 @@ class CRM_TwingleCampaign_BAO_TwingleProject extends Campaign {
|
|||
return $response;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ## Last update
|
||||
* Returns a timestamp of the last update of the TwingleProject campaign.
|
||||
*
|
||||
* @return int|string|null
|
||||
* @return int|null
|
||||
*/
|
||||
public
|
||||
function lastUpdate(): ?int {
|
||||
public function lastUpdate(): ?int {
|
||||
return self::getTimestamp($this->values['last_update']);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ## Get project id
|
||||
* Returns the **project_id** of this TwingleProject.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue