@@ -75,7 +75,7 @@ public function onRunJob() {
7575 // enforce traffic quota (run only on the "master-server")
7676 //######################################################################################################
7777
78- if ($ app ->running_on_master ()) {
78+ if ($ app ->running_on_masterserver ()) {
7979
8080 $ global_config = $ app ->getconf ->get_global_config ('mail ' );
8181
@@ -159,7 +159,7 @@ public function onRunJob() {
159159 // send website quota warnings by email
160160 //######################################################################################################
161161
162- if ($ app ->running_on_master ()) {
162+ if ($ app ->running_on_masterserver ()) {
163163
164164 $ global_config = $ app ->getconf ->get_global_config ('mail ' );
165165
@@ -315,7 +315,7 @@ public function onRunJob() {
315315 // send mail quota warnings by email
316316 //######################################################################################################
317317
318- if ($ app ->running_on_master ()) {
318+ if ($ app ->running_on_masterserver ()) {
319319
320320 $ global_config = $ app ->getconf ->get_global_config ('mail ' );
321321 $ mail_config = $ app ->getconf ->get_server_config ($ conf ['server_id ' ], 'mail ' );
@@ -453,7 +453,7 @@ public function onRunJob() {
453453 // send database quota warnings by email
454454 //######################################################################################################
455455
456- if ($ app ->running_on_master ()) {
456+ if ($ app ->running_on_masterserver ()) {
457457
458458 $ global_config = $ app ->getconf ->get_global_config ('mail ' );
459459
0 commit comments