diff options
author | Andrew Dolgov <[email protected]> | 2020-09-22 14:54:15 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-09-22 14:54:15 +0300 |
commit | 6811d0bde220d7632b9d6a7fa4f4931cc96324c8 (patch) | |
tree | 84e66e1427ea53c0a2a0473cabade723d1e6ce47 /classes/article.php | |
parent | b5710baf3439343bbc65c2fc1586aefd0b94d99c (diff) |
use self:: in some places to invoke static methods from the same class
Diffstat (limited to 'classes/article.php')
-rwxr-xr-x | classes/article.php | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |