[TASK] Migrate form upgrade wizard to new API
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Updates / ReferenceIndexUpdatedPrerequisite.php
index d7ebc5e..0017e6d 100644 (file)
@@ -79,7 +79,7 @@ class ReferenceIndexUpdatedPrerequisite implements PrerequisiteInterface, Chatty
     {
         $this->referenceIndex->enableRuntimeCache();
         $result = $this->referenceIndex->updateIndex(true, false);
-        return $result['errorCount'] === 0;
+        return $result[2] === 0;
     }
 
     /**