In the new backend user model the property lastlogin was not consistently
in the spelling. Sometimes is it used as lastloginDateAndTime and in the methods
it is used in correct lowerCamelCase lastLoginDateAndTime.
This patch defines the property as lastLoginDateAndTime.
Change-Id: I00e5fd98bcd82e333a6fc9a91f3fe497f2a09d12
Fixes: #39460
Releases: 6.0
Reviewed-on: http://review.typo3.org/13422
Reviewed-by: Georg Ringer
Reviewed-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
/**
* @var DateTime|NULL
*/
- protected $lastloginDateAndTime;
+ protected $lastLoginDateAndTime;
/**
* @var boolean
* @return \DateTime|NULL this user's last login date and time, will be NULL if this user has never logged in before
*/
public function getLastLoginDateAndTime() {
- return $this->lastloginDateAndTime;
+ return $this->lastLoginDateAndTime;
}
/**
* @return void
*/
public function setLastLoginDateAndTime(\DateTime $dateAndTime = NULL) {
- $this->lastloginDateAndTime = $dateAndTime;
+ $this->lastLoginDateAndTime = $dateAndTime;
}
}
?>
\ No newline at end of file