CheckForReminders   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 6 2
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