We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e538b51 commit 3ff1926Copy full SHA for 3ff1926
1 file changed
migrations/m11_reparse_old_ideas.php
@@ -12,14 +12,6 @@
12
13
class m11_reparse_old_ideas extends \phpbb\db\migration\container_aware_migration
14
{
15
- /**
16
- * {@inheritDoc}
17
- */
18
- public function effectively_installed()
19
- {
20
- return $this->config->offsetExists('phpbb.ideas.text_reparser.clean_old_ideas');
21
- }
22
-
23
/**
24
* {@inheritDoc}
25
*/
@@ -34,6 +26,17 @@ public static function depends_on()
34
26
];
35
27
}
36
28
29
+ /**
30
+ * {@inheritDoc}
31
+ */
32
+ public function effectively_installed()
33
+ {
+ /** @var \phpbb\textreparser\manager $reparser_manager */
+ $reparser_manager = $this->container->get('text_reparser.manager');
+
37
+ return !empty($reparser_manager->get_resume_data('phpbb.ideas.text_reparser.clean_old_ideas'));
38
+ }
39
40
41
* @inheritDoc
42
0 commit comments