- if (!empty($this->opts['uid'])) {
- $events = DB_DataObject::factory('Events');
- $events->action = 'ERROR-REPORT-' . $this->opts['uid'];
- $events->orderBy('id DESC');
- $events->limit(1);
- if ($events->find(true)) {
- $min = $events->id;
- }
+
+ $events = DB_DataObject::factory('Events');
+ $events->action = 'ERROR-REPORT-' . $this->opts['uid'];
+ $events->orderBy('id DESC');
+ $events->limit(1);
+ if ($events->find(true)) {
+ $min = $events->id;