$this->generateNotifications();
- $this->assignQueues();
-
- //DB_DataObject::debugLevel(1);
+ //DB_DataObject::debugLevel(1);
$w = DB_DataObject::factory($this->table);
$total = 0;
$this->server = DB_DataObject::Factory('core_notify_server')->getCurrent($this);
+ $this->server->assignQueues($this);
+
if (!empty($this->evtype)) {
$w->evtype = $this->evtype;
}
}
- function assignQueues()
- {
-
- DB_DataObject::Factory('core_notify_server')->assignQueues($this);
-
-
- }
+
function run($id, $email='', $cmdOpts="")
{