From 6d268dba7b08a753693db098d70a1aacd3df893e Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 21 Aug 2020 22:53:00 +0300 Subject: [PATCH] refactor(entries): remove dead code from fetchCollection() method --- src/flextype/app/Foundation/Entries/Entries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/app/Foundation/Entries/Entries.php b/src/flextype/app/Foundation/Entries/Entries.php index 9caeee9c..95c23193 100755 --- a/src/flextype/app/Foundation/Entries/Entries.php +++ b/src/flextype/app/Foundation/Entries/Entries.php @@ -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); }