Page MenuHomePhorge

D5316.1774865206.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D5316.1774865206.diff

diff --git a/src/app/Console/Kernel.php b/src/app/Console/Kernel.php
--- a/src/app/Console/Kernel.php
+++ b/src/app/Console/Kernel.php
@@ -20,8 +20,13 @@
// This notifies users about coming password expiration
$schedule->command('password:retention')->dailyAt('06:00');
- // This applies wallet charges
- $schedule->command('wallet:charge')->everyFourHours();
+ if (\config('app.with_wallet')) {
+ // This applies wallet charges
+ $schedule->command('wallet:charge')->everyFourHours();
+
+ // This notifies users about an end of the trial period
+ $schedule->command('wallet:trial-end')->dailyAt('07:00');
+ }
// This removes deleted storage files/file chunks from the filesystem
$schedule->command('fs:expunge')->hourly();
@@ -29,9 +34,6 @@
// This cleans up IMAP ACL for deleted users/etc.
// $schedule->command('imap:cleanup')->dailyAt('03:00');
- // This notifies users about an end of the trial period
- $schedule->command('wallet:trial-end')->dailyAt('07:00');
-
// This collects some statistics into the database
$schedule->command('data:stats:collector')->dailyAt('23:00');

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 30, 10:06 AM (6 d, 5 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18803139
Default Alt Text
D5316.1774865206.diff (1 KB)

Event Timeline