CheckForReminders::execute()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 2
nc 2
nop 0
1
<?php
2
# (C) 2008 Steren Giannini
3
# Licensed under the GNU GPLv2 (or later).
4
5
$IP = getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : __DIR__ . '/../../..';
6
require_once $IP . "/maintenance/Maintenance.php";
7
8
class CheckForReminders extends Maintenance {
9
10
	public function execute() {
11
		if ( !$this->isQuiet() ) {
12
			print "ST check for reminders\n";
13
		}
14
		ST\SemanticTasksMailer::remindAssignees();
15
	}
16
}
17
18
$maintClass = 'CheckForReminders';
19
20
require_once RUN_MAINTENANCE_IF_MAIN;
21