You are here

public function PagerActivity::setLastActivityId in Heartbeat 7

Sets the last uaid

File

./heartbeat.module, line 1218
Module file for heartbeat activity. Basic hook implementations and helper functions will be found here.

Class

PagerActivity
Query extender for heartbeat pager queries.

Code

public function setLastActivityId($lastActivityId) {
  $this->lastActivityId = $lastActivityId;
  $this->query
    ->condition('ha.uaid', $this->lastActivityId, '>');
}