From 6811d0bde220d7632b9d6a7fa4f4931cc96324c8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 Sep 2020 14:54:15 +0300 Subject: use self:: in some places to invoke static methods from the same class --- classes/article.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'classes/article.php') diff --git a/classes/article.php b/classes/article.php index c94b69615..430109283 100755 --- a/classes/article.php +++ b/classes/article.php @@ -159,7 +159,7 @@ class Article extends Handler_Protected { $param = clean($_REQUEST['param']); - $tags = Article::get_article_tags($param); + $tags = self::get_article_tags($param); $tags_str = join(", ", $tags); @@ -261,7 +261,7 @@ class Article extends Handler_Protected { $this->pdo->commit(); - $tags = Article::get_article_tags($id); + $tags = self::get_article_tags($id); $tags_str = $this->format_tags_string($tags, $id); $tags_str_full = join(", ", $tags); @@ -344,7 +344,7 @@ class Article extends Handler_Protected { static function format_article_enclosures($id, $always_display_enclosures, $article_content, $hide_images = false) { - $result = Article::get_article_enclosures($id); + $result = self::get_article_enclosures($id); $rv = ''; foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_FORMAT_ENCLOSURES) as $plugin) { -- cgit v1.2.3