Rename function name
authorOlaf Braun <info@braun-development.de>
Fri, 10 Nov 2023 08:27:55 +0000 (09:27 +0100)
committerOlaf Braun <info@braun-development.de>
Fri, 10 Nov 2023 08:27:55 +0000 (09:27 +0100)
wcfsetup/install/files/lib/data/TI18nDatabaseObjectAction.class.php

index 15e295f9e21202cb7c0215edcc1aed9db26f22cd..5e66fd17d56d9def9034ea6f8d6d4994460835eb 100644 (file)
@@ -32,13 +32,13 @@ trait TI18nDatabaseObjectAction
                 }
             }
         }
-        $this->deleteI18Items($langaugeItems);
+        $this->deleteI18nItems($langaugeItems);
     }
 
     /**
      * Deletes language items and clears the language cache.
      */
-    private function deleteI18Items(array $langaugeItems): void
+    private function deleteI18nItems(array $langaugeItems): void
     {
         if ($langaugeItems !== []) {
             //find language category id
@@ -112,7 +112,7 @@ trait TI18nDatabaseObjectAction
                 $deleteData[] = $languageName;
             }
         }
-        $this->deleteI18Items($deleteData);
+        $this->deleteI18nItems($deleteData);
 
         if (!empty($updateData)) {
             $editor = new $this->className($object);