mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Add info resourceType
This commit is contained in:
parent
8213b37cf4
commit
6f5b144e70
1 changed files with 2 additions and 2 deletions
|
|
@ -158,10 +158,10 @@ abstract class ScheduleBase extends Action
|
|||
$new = \strtotime($document['resourceUpdatedAt']);
|
||||
|
||||
if (!$document['active']) {
|
||||
Console::info("Removing: {$document['resourceType']}:{$document['resourceId']}");
|
||||
Console::info("Removing: {$document['resourceType']}::{$document['resourceId']}");
|
||||
unset($this->schedules[$document->getInternalId()]);
|
||||
} elseif ($new !== $org) {
|
||||
Console::info("Updating: {$document['resourceType']}:{$document['resourceId']}");
|
||||
Console::info("Updating: {$document['resourceType']}::{$document['resourceId']}");
|
||||
$this->schedules[$document->getInternalId()] = $getSchedule($document);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue