1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-09 14:46:53 +02:00

refactor(entries): remove dead code from fetchCollection() method

This commit is contained in:
Awilum
2020-08-21 22:53:00 +03:00
parent f1420eb485
commit 6d268dba7b

View File

@@ -199,7 +199,7 @@ class Entries
continue;
}
$_id = $uid = ltrim(rtrim(str_replace(PATH['project'] . '/entries/', '', str_replace('\\', '/', $current_entry->getPath())), '/'), '/');
$_id = ltrim(rtrim(str_replace(PATH['project'] . '/entries/', '', str_replace('\\', '/', $current_entry->getPath())), '/'), '/');
$this->entries[$_id] = $this->fetchSingle($_id);
}