Fixed vBulletin 4.x Import: "Could not find XF:Usergroup handler"

Steffen

Well-known member
Affected version
2.0.0 Release Candidate 3
Diff:
diff --git a/xenforo/src/XF/Import/Importer/vBulletin.php b/xenforo/src/XF/Import/Importer/vBulletin.php
--- a/xenforo/src/XF/Import/Importer/vBulletin.php
+++ b/xenforo/src/XF/Import/Importer/vBulletin.php
@@ -435,7 +435,7 @@ class vBulletin extends AbstractForumImporter
             if (array_key_exists($oldId, $groupMap))
             {
                 // don't import the group, just map it to one of our defaults
-                $this->logHandler('XF:Usergroup', $oldId, $groupMap[$oldId]);
+                $this->logHandler('XF:UserGroup', $oldId, $groupMap[$oldId]);
             }
             else
             {
@@ -450,7 +450,7 @@ class vBulletin extends AbstractForumImporter
                 }
 
                 /** @var \XF\Import\Data\UserGroup $import */
-                $import = $this->newHandler('XF:Usergroup');
+                $import = $this->newHandler('XF:UserGroup');
                 $import->bulkSet($data);
                 $import->set('display_style_priority', $titlePriority);
                 $import->setPermissions($permissions);
 
Back
Top Bottom