diff options
Diffstat (limited to 'mod/dashboard/start.php')
-rw-r--r-- | mod/dashboard/start.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mod/dashboard/start.php b/mod/dashboard/start.php new file mode 100644 index 000000000..8eb99a37c --- /dev/null +++ b/mod/dashboard/start.php @@ -0,0 +1,22 @@ +<?php
+
+ /**
+ * Simple dashboard plugin
+ *
+ * These parameters are required for the event API, but we won't use them:
+ *
+ * @param unknown_type $event
+ * @param unknown_type $object_type
+ * @param unknown_type $object
+ */
+
+ function dashboard_init($event, $object_type, $object = null) {
+
+ global $CONFIG;
+
+ }
+
+ // Make sure test_init is called on initialisation
+ register_event_handler('init','system','dashboard_init');
+
+?>
\ No newline at end of file |