application/Espo/Core/Utils/Language.php
public function delete($scope, $category, $name)
    {
        if (is_array($name)) {
            foreach ($name as $rowLabel) {
                $this->delete($scope, $category, $rowLabel);
            }
            return;
        }

        $this->deletedData[$scope][$category][] = $name;

        $currentLanguage = $this->getLanguage();
        if (!isset($this->data[$currentLanguage])) {
            $this->init();
        }

        if (isset($this->data[$currentLanguage][$scope][$category][$name])) {
            unset($this->data[$currentLanguage][$scope][$category][$name]);
        }

        if (isset($this->changedData[$scope][$category][$name])) {
            unset($this->changedData[$scope][$category][$name]);
        }
    }
public function delete($scope, $category, $name)
    {
        if (is_array($name)) {
            foreach ($name as $rowLabel) {
                $this->delete($scope, $category, $rowLabel);
            }
            return;
        }

        $this->deletedData[$scope][$category][] = $name;

        $currentLanguage = $this->getLanguage();
        if (!isset($this->data[$currentLanguage])) {
            $this->init();
        }

        if (isset($this->data[$currentLanguage][$scope][$category][$name])) {
            unset($this->data[$currentLanguage][$scope][$category][$name]);
        }

        if (isset($this->changedData[$scope][$category][$name])) {
            unset($this->changedData[$scope][$category][$name]);
        }
    }
public function delete ( $ scope , $ category , $ name ) { if ( is_array ( $ name ) ) { foreach ( $ name as $ rowLabel ) { $ this -> delete ( $ scope , $ category , $ rowLabel ) ; } return ; } $ this -> deletedData [ $ scope ] [ $ category ] [ ] = $ name ; $ currentLanguage = $ this -> getLanguage ( ) ; if ( ! isset ( $ this -> data [ $ currentLanguage ] ) ) { $ this -> init ( ) ; } if ( isset ( $ this -> data [ $ currentLanguage ] [ $ scope ] [ $ category ] [ $ name ] ) ) { unset ( $ this -> data [ $ currentLanguage ] [ $ scope ] [ $ category ] [ $ name ] ) ; } if ( isset ( $ this -> changedData [ $ scope ] [ $ category ] [ $ name ] ) ) { unset ( $ this -> changedData [ $ scope ] [ $ category ] [ $ name ] ) ; } }
Remove a label

@param  string $name
@param  string $category
@param  string $scope

@return void
Remove a label