Skip to content

Commit 07d0a0f

Browse files
committed
Fix PHP Deprecated: Creation of dynamic property cronjob_quota_notify::$_tools is deprecated in
1 parent ecfdb11 commit 07d0a0f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

server/lib/classes/cron.d/100-mailbox_stats_hourly.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ class cronjob_mailbox_stats_hourly extends cronjob {
3636
protected $mail_boxes = array();
3737
protected $mail_rewrites = array();
3838

39+
private $_tools = null;
40+
3941
/* this function is optional if it contains no custom code */
4042
public function onPrepare() {
4143
global $app;

server/lib/classes/cron.d/300-quota_notify.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class cronjob_quota_notify extends cronjob {
3333
// job schedule
3434
protected $_schedule = '0 0 * * *';
3535

36+
private $_tools = null;
37+
3638
/* this function is optional if it contains no custom code */
3739
public function onPrepare() {
3840
global $app;

0 commit comments

Comments
 (0)