summaryrefslogtreecommitdiff
path: root/plugins/example_routing/example_routing.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/example_routing/example_routing.php')
-rw-r--r--plugins/example_routing/example_routing.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/example_routing/example_routing.php b/plugins/example_routing/example_routing.php
index f15951e08..31c5b6f28 100644
--- a/plugins/example_routing/example_routing.php
+++ b/plugins/example_routing/example_routing.php
@@ -15,14 +15,14 @@ class Example_Routing extends Plugin implements IHandler {
private $link;
private $host;
- function _about() {
+ function about() {
return array(1.0,
"Example routing plugin",
"fox",
true);
}
- function __construct($host) {
+ function init($host) {
$this->link = $host->get_link();
$this->host = $host;