summaryrefslogtreecommitdiffstats
path: root/libs/Contents.php
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-11-09 11:39:41 +0800
committereltrac <hi@eltr.ac>2026-11-09 11:39:41 +0800
commit93fef9c8a168cda7cc643c5b60b758e53afc0395 (patch)
tree8eba59c7676a1fe0ebc3d82ca2a22f7eedf9ce85 /libs/Contents.php
parent6f473a2856b627fde9af8500bbb5324e0a21478b (diff)
libs/Contents: 移除死代码,消除警告
Diffstat (limited to 'libs/Contents.php')
-rw-r--r--libs/Contents.php4
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
+}