diff options
| author | eltrac <hi@eltr.ac> | 2026-11-09 11:39:41 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-11-09 11:39:41 +0800 |
| commit | 93fef9c8a168cda7cc643c5b60b758e53afc0395 (patch) | |
| tree | 8eba59c7676a1fe0ebc3d82ca2a22f7eedf9ce85 | |
| parent | 6f473a2856b627fde9af8500bbb5324e0a21478b (diff) | |
libs/Contents: 移除死代码,消除警告
| -rw-r--r-- | libs/Contents.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/Contents.php b/libs/Contents.php index b1b8db9..e3ee008 100644 --- a/libs/Contents.php +++ b/libs/Contents.php @@ -19,8 +19,6 @@ class Contents */ static public function parseContent($data, $widget, $last){ $db=Typecho_Db::get(); - $load_image = $db->fetchAll($db->select('value')->from('table.options')->where('name = %s', "theme:Miracles")->limit(1)); - $load_image = explode("\";",explode("\"",explode("\"loading_image\";",$load_image[0]["value"],2)[1],2)[1],2)[0]; $text = empty($last) ? $data : $last; if ($widget instanceof Widget_Archive) { //ParseOther @@ -445,4 +443,4 @@ class Contents ->limit(1)); return date('Y-m-d', $content['created']); } -}
\ No newline at end of file +} |
