1
0
Fork 0
mirror of synced 2024-10-01 09:47:43 +13:00

Remove redundant document pass through

This commit is contained in:
Jake Barnby 2024-01-26 00:35:04 +13:00
parent 7106131545
commit e81ab1d1e0
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -153,7 +153,7 @@ class Deletes extends Action
$this->deleteCacheByDate($project, $getProjectDB, $datetime);
break;
case DELETE_TYPE_SCHEDULES:
$this->deleteSchedules($dbForConsole, $getProjectDB, $datetime, $document);
$this->deleteSchedules($dbForConsole, $getProjectDB, $datetime);
break;
case DELETE_TYPE_TOPIC:
$this->deleteTopic($project, $getProjectDB, $document);
@ -181,7 +181,7 @@ class Deletes extends Action
* @throws Structure
* @throws DatabaseException
*/
private function deleteSchedules(Database $dbForConsole, callable $getProjectDB, string $datetime, ?Document $document = null): void
private function deleteSchedules(Database $dbForConsole, callable $getProjectDB, string $datetime): void
{
$this->listByGroup(
'schedules',