function cleanup($max) { $this->erase(['$where' => 'this.stamp+' . $max . '<' . time()]); return TRUE; }