Fix PHP7 warning default tip
authorAndreas Boehler <andreas@aboehler.at>
Thu, 21 Apr 2016 09:20:50 +0200
changeset 5 11ccac7668ec
parent 4 dffe53229d26
Fix PHP7 warning
action.php
plugin.info.txt
--- a/action.php	Tue Sep 23 21:36:49 2014 +0200
+++ b/action.php	Thu Apr 21 09:20:50 2016 +0200
@@ -21,7 +21,7 @@
         $this->dthlp =& plugin_load('helper', 'data');
     }
 
-    function register(&$controller) {
+    function register(Doku_Event_Handler $controller) {
         global $JSINFO;
         $JSINFO['plugin']['datapopup']['registered_types'] = $this->getConf('registered_types');
         
--- a/plugin.info.txt	Tue Sep 23 21:36:49 2014 +0200
+++ b/plugin.info.txt	Thu Apr 21 09:20:50 2016 +0200
@@ -1,7 +1,7 @@
 base   datapopup
 author Andreas Boehler
 email  dev@aboehler.at
-date   2014-09-23
+date   2016-04-21
 name   datapopup plugin
 desc   Dynamically displays data entries in a popup
 url    http://www.aboehler.at