Code Duplication    Length = 4-4 lines in 2 locations

Core/Executor/LanguageManager.php 2 locations

@@ 71-74 (lines=4) @@
68
     */
69
    protected function update($step)
70
    {
71
        if (isset($step->dsl['lang'])) {
72
            // BC
73
            $step->dsl['match'] = array('language_code' => $step->dsl['lang']);
74
        }
75
76
        $languageCollection = $this->matchLanguages('delete', $step);
77
@@ 111-114 (lines=4) @@
108
     */
109
    protected function delete($step)
110
    {
111
        if (isset($step->dsl['lang'])) {
112
            // BC
113
            $step->dsl['match'] = array('language_code' => $step->dsl['lang']);
114
        }
115
        $languageCollection = $this->matchLanguages('delete', $step);
116
117
        $this->setReferences($languageCollection, $step);