summaryrefslogtreecommitdiffstats
path: root/libs/Contents.php
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2019-10-06 13:54:18 +0800
committerGitHub <noreply@github.com>2019-10-06 13:54:18 +0800
commit043c72d54324c615f192a1d3310e8c4017c23f10 (patch)
treef3e3fb5394aa8957c3d7ee7b430bf6b9d1e2d824 /libs/Contents.php
parentcb42cfdc07776201f4daaef9c42840fd2cf62109 (diff)
🎉 Perf: 一些小改动
Diffstat (limited to 'libs/Contents.php')
-rw-r--r--libs/Contents.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/Contents.php b/libs/Contents.php
index 77b26f1..e31c35c 100644
--- a/libs/Contents.php
+++ b/libs/Contents.php
@@ -1,7 +1,7 @@
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit;
/*
- * 该主体代码来自 熊猫小A(AlanDecode) 的项目,感谢~
+ * 该文件大部分代码来自 熊猫小A(AlanDecode) 的项目,感谢~
* https://github.com/AlanDecode/typecho-theme-dev-framework
*/
@@ -55,7 +55,7 @@ class Contents
* 通过查询数据库
* 获取上级评论人
*/
- public static function getParent($comment)
+ public static function commentsParent($comment)
{
$recipients = [];
$db = Typecho_Db::get();
@@ -180,4 +180,4 @@ class Contents
return $comments;
}
-}
+} \ No newline at end of file