CC-3174 : showbuilder
adding new column last_scheduled to cc_show_instance changing column time_filled to be of type interval.
This commit is contained in:
parent
b1fbeeb448
commit
f14ebce239
10 changed files with 219 additions and 75 deletions
|
@ -288,13 +288,18 @@ class Application_Model_Scheduler {
|
|||
}
|
||||
}
|
||||
|
||||
public function removeItems($scheduledIds, $adjustSched = true) {
|
||||
public function removeItems($scheduledItems, $adjustSched = true) {
|
||||
|
||||
$showInstances = array();
|
||||
$this->con->beginTransaction();
|
||||
|
||||
try {
|
||||
|
||||
$scheduledIds = array();
|
||||
foreach ($scheduledItems as $item) {
|
||||
$scheduledIds[] = $item["id"];
|
||||
}
|
||||
|
||||
$removedItems = CcScheduleQuery::create()->findPks($scheduledIds);
|
||||
$removedItems->delete($this->con);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue