Skip to content

Commit 9800852

Browse files
mvogelLawri van Buël
mvogel
authored and
Lawri van Buël
committed
Issue #3127873 by mvogel: Drupal\Core\Extension\Exception\UnknownExtensionException: The module rocket_chat_group does not exist. in Drupal\Core\Extension\ModuleHandler->getModule() (line 176 of core/lib/Drupal/Core/Extension/ModuleHandler.php)
Signed-off-by: Lawri van Buël <sysosmaster@2588960.no-reply.drupal.org>
1 parent ebb07b3 commit 9800852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Form/RocketChatSettingsForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function buildForm(array $form, FormStateInterface $form_state, Request $
187187
$form['rocketchatRefreshCache']['#disabled'] = TRUE;
188188
}
189189

190-
if($this->moduleHandler->getModule("rocket_chat_group")){
190+
if($this->moduleHandler->moduleExists("rocket_chat_group")){
191191
$form['rocketchatRefreshGroups'] = [
192192
'#type' => 'button',
193193
'#value' => $this->t("Rebuild Groups Channels"),

0 commit comments

Comments
 (0)