mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +02:00
chore: update CI to v4.6.3 + all php and js dependencies
This commit is contained in:
parent
96b2df15b0
commit
346c00e7b5
206 changed files with 6239 additions and 5336 deletions
|
|
@ -267,9 +267,8 @@ class AnalyticsPodcastModel extends Model
|
|||
public function getDataTotalStorageByMonth(): array
|
||||
{
|
||||
if (! ($found = cache('analytics_total_storage_by_month'))) {
|
||||
$found = (new MediaModel())->select(
|
||||
'DATE_FORMAT(uploaded_at,"%Y-%m") as labels, ROUND(sum(file_size) / 1000000, 2) as `values`',
|
||||
)
|
||||
$found = new MediaModel()
|
||||
->select('DATE_FORMAT(uploaded_at,"%Y-%m") as labels, ROUND(sum(file_size) / 1000000, 2) as `values`')
|
||||
->groupBy('labels')
|
||||
->orderBy('labels', 'ASC')
|
||||
->findAll();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue