From b66b3d6fd83c8b92cd494085e433c1cc28f3a2b3 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Tue, 16 Jan 2024 16:43:48 +0800 Subject: [PATCH] * Delete useless code. --- module/story/model.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index e7629aefd6..327e6fdad3 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -189,7 +189,6 @@ class storyModel extends model ->where('status')->ne('closed') ->beginIF($story->twins)->andWhere('story')->in(ltrim($story->twins, ',') . $storyIdList)->fi() ->beginIF(!$story->twins)->andWhere('story')->in($storyIdList)->fi() - ->andWhere('status')->ne('closed') ->andWhere('deleted')->eq(0) ->orderBy('id desc')->fetchAll();