Skip to content

Commit 9b6ef24

Browse files
Merge pull request #248 from roelvanhintum/patch-1
Added maxPowerCaptain to actionFixContentTables
2 parents eaa845a + 6cc1723 commit 9b6ef24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/controllers/PluginController.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use craft\db\Query;
1111
use craft\db\Table;
1212
use craft\fields\MatrixField;
13+
use craft\helpers\App;
1314
use craft\helpers\Db;
1415
use craft\helpers\Json;
1516
use craft\helpers\MigrationHelper;
@@ -31,6 +32,9 @@ public function actionSettings()
3132

3233
public function actionFixContentTables()
3334
{
35+
// This might take a while
36+
App::maxPowerCaptain();
37+
3438
// Backup!
3539
Craft::$app->getDb()->backup();
3640

@@ -242,4 +246,4 @@ public function actionCheckContentTables()
242246
]);
243247
}
244248

245-
}
249+
}

0 commit comments

Comments
 (0)