]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - plugins/example_plugin/example_plugin.php
IMPORTANT - Please read
[irc/unrealircd/unrealircd-webpanel.git] / plugins / example_plugin / example_plugin.php
diff --git a/plugins/example_plugin/example_plugin.php b/plugins/example_plugin/example_plugin.php
deleted file mode 100644 (file)
index b21009e..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class example_plugin
-{
-    public $name = "Example plugin";
-    public $author = "Valware";
-    public $version = "1.0";
-    public $description = "An example plugin to show how to make stuff";
-
-    function __construct()
-    {
-        Hook::func(HOOKTYPE_NAVBAR, 'example_plugin::add_navbar'); 
-    }
-
-    public static function add_navbar(&$pages)
-    {
-        $page_name = "Example";
-        $page_link = "plugins/example_plugin/example.php";
-        $pages[$page_name] = $page_link;
-    }
-}
\ No newline at end of file