return;
}
- $roo->addEvent(!empty($q['_action'])? $q['_action'] : "ADD", $this, $this->toEventString());
+ $roo->addEvent("ADD", $this, $this->toEventString());
$r = DB_DataObject::factory($this->tableName());
$r->id = $this->id;
if (!empty($mime_like)) {
$c->whereAdd("Images.mimetype LIKE '". $c->escape($mime_like) ."'");
}
+ $c->orderBy('created DESC');
return $c->fetchAll();
}