File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -43,22 +43,13 @@ public function checkMinimumUpdateVersion(string $version): bool
4343 }
4444
4545 /**
46- * Updates only possible if maintenance mode is enabled.
46+ * Updates only possible if the maintenance mode is enabled.
4747 */
4848 public function checkMaintenanceMode (): bool
4949 {
5050 return Configuration::getConfigurationInstance ()->get ('main.maintenanceMode ' );
5151 }
5252
53- /**
54- * Checks if the database file exists.
55- */
56- public function checkDatabaseFile (): bool
57- {
58- return !(!file_exists (PMF_ROOT_DIR . '/config/database.php ' ) &&
59- !file_exists (PMF_ROOT_DIR . '/content/core/config/database.php ' ));
60- }
61-
6253 /**
6354 * Checks for the minimum PHP requirement and if the database credentials file is readable.
6455 * @throws Exception
Original file line number Diff line number Diff line change @@ -27,14 +27,8 @@ class StopWords
2727{
2828 private string $ language ;
2929
30- /**
31- * Table name.
32- */
3330 private readonly string $ tableName ;
3431
35- /**
36- * Constructor.
37- */
3832 public function __construct (private readonly Configuration $ configuration )
3933 {
4034 $ this ->tableName = Database::getTablePrefix () . 'faqstopwords ' ;
You can’t perform that action at this time.
0 commit comments