PluginProbe
Disk Usage Insights / 1.2
Disk Usage Insights v1.2
trunk 1.0 1.10 1.11 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9
← All changes | src/Frontend/Controller/ScanController.php +8 -0 1.81.2 View file →
@@ -11,8 +11,16 @@
11 11
12 12
13 13 public function scan() {
14 14 check_ajax_referer(Plugin::NONCE);
15 +/*
16 + // TODO: Remove Code
17 + // OLD v1.1 code:
18 + $scanResults = new ScanResults();
19 + $scanResults->execute();
20 +
21 + sleep(1);
22 +*/
15 23
16 24 // Create a new Snapshot Database
17 25 $snapshotName = gmdate('Ymd_His_') . random_int(10000, 99999);
18 26 $database = (new DatabaseRepository())->loadDatabase($snapshotName);