aboutsummaryrefslogtreecommitdiff
path: root/plugin.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-04-15 22:27:19 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-04-15 22:27:19 +0200
commit96ae4646d0fb83dc37e24363e4e697b2dbdb2112 (patch)
tree54b1956929b603d35257c038c0db1aba086163ce /plugin.php
parent376ae23982e11b97156fdf70a4efec24a782c2ae (diff)
downloadr7r-gravatar-96ae4646d0fb83dc37e24363e4e697b2dbdb2112.tar.gz
r7r-gravatar-96ae4646d0fb83dc37e24363e4e697b2dbdb2112.tar.bz2
r7r-gravatar-96ae4646d0fb83dc37e24363e4e697b2dbdb2112.zip
Rename plugin
Diffstat (limited to 'plugin.php')
-rw-r--r--plugin.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin.php b/plugin.php
index 96afab1..5cd982b 100644
--- a/plugin.php
+++ b/plugin.php
@@ -1,11 +1,11 @@
<?php
-class kch42_gravatar extends RatatoeskrPlugin
+class gravatar extends RatatoeskrPlugin
{
- public function ste_tag_kch42_gravatar($ste, $params, $sub)
+ public function ste_tag_gravatar($ste, $params, $sub)
{
if(!isset($params["comment"]))
- throw new \ste\RuntimeError("ste:kch42_gravatar needs the comment parameter.");
+ throw new \ste\RuntimeError("ste:gravatar needs the comment parameter.");
$ste_comment = $ste->get_var_by_name($params["comment"]);
@@ -35,6 +35,6 @@ class kch42_gravatar extends RatatoeskrPlugin
public function init()
{
- $this->ste->register_tag("kch42_gravatar", array($this, "ste_tag_kch42_gravatar"));
+ $this->ste->register_tag("gravatar", array($this, "ste_tag_gravatar"));
}
}