mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 01:12:14 +00:00
Merge remote-tracking branch 'origin/v2' into oasis
# Conflicts: # app/Http/Controllers/User/AccountController.php # app/Http/helpers.php # public/mix-manifest.json # resources/js/components/FilesView/Icons/AlphabetIcon.vue # resources/js/components/FilesView/MobileActionButton.vue # resources/js/views/Admin/AppSettings/AppSettingsTabs/Appearance.vue # resources/js/views/Admin/Users/UserTabs/UserDetail.vue # resources/js/views/Upgrade/UpgradeBilling.vue # resources/views/index.blade.php # resources/views/vuefilemanager/invoice.blade.php # resources/views/vuefilemanager/others/color-template.blade.php
This commit is contained in:
@@ -171,7 +171,7 @@ class User extends Authenticatable
|
||||
*/
|
||||
public function record_upload($file_size)
|
||||
{
|
||||
$now = Carbon::now();
|
||||
$now = now();
|
||||
|
||||
$record = Traffic::whereYear('created_at', '=', $now->year)
|
||||
->whereMonth('created_at', '=', $now->month)
|
||||
@@ -191,7 +191,7 @@ class User extends Authenticatable
|
||||
*/
|
||||
public function record_download($file_size)
|
||||
{
|
||||
$now = Carbon::now();
|
||||
$now = now();
|
||||
|
||||
$record = Traffic::whereYear('created_at', '=', $now->year)
|
||||
->whereMonth('created_at', '=', $now->month)
|
||||
|
||||
Reference in New Issue
Block a user