Template/Update (Part 32)

* convert dbtype 'event'
This commit is contained in:
Sarjuuk
2025-08-13 18:07:35 +02:00
parent e876463f3b
commit d66a863f55
12 changed files with 519 additions and 490 deletions

View File

@@ -113,7 +113,7 @@ class WorldEventList extends DBTypeList
}
}
public function getListviewData(bool $forNow = false) : array
public function getListviewData() : array
{
$data = [];
@@ -132,15 +132,6 @@ class WorldEventList extends DBTypeList
);
}
if ($forNow)
{
foreach ($data as &$d)
{
self::updateDates($d['_date'], $d['startDate'], $d['endDate'], $d['rec']);
unset($d['_date']);
}
}
return $data;
}