public function UserActivityActionHandler::determineTimestamp in Activity 7
Return the timestamp that this Activity happened at.
Parameters
array $objects: The objects used in tokenization.
Return value
int
Overrides ActivityActionHandler::determineTimestamp
File
- ./
activity_action_handlers.inc, line 800
Class
- UserActivityActionHandler
- Activity Action Handler for the user triggers.
Code
public function determineTimestamp($objects) {
if ($this->type == 'user_insert') {
return $objects['user']->created;
}
return REQUEST_TIME;
}