public function updateLastAction($posted = null)
{
$posted = _elgg_services()->entityTable->updateLastAction($this, $posted);
if ($posted) {
$this->attributes['last_action'] = $posted;
_elgg_services()->entityCache->set($this);
$this->storeInPersistedCache(_elgg_get_memcache('new_entity_cache'));
}
return $posted;
}