Bulk_Delete_Users_By_User_Meta::factory()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
use BulkWP\BulkDelete\Core\Users\Modules\DeleteUsersByUserMetaModule;
4
5
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
6
7
/**
8
 * Adds backward compatibility for Scheduler for Deleting Users By User Meta add-on v1.0 or below.
9
 *
10
 * This class will eventually be removed once the add-on is updated.
11
 *
12
 * @since 6.0.0
13
 */
14
class Bulk_Delete_Users_By_User_Meta {
15
	private static $module;
16
17
	public static function factory() {
18
		self::$module = new DeleteUsersByUserMetaModule();
19
20
		return self::$module;
21
	}
22
}
23