Commit 7dbd6ecb authored by Denis Chenu's avatar Denis Chenu
Browse files

[fix] 3.X compatibility

parent e3596344
......@@ -6,7 +6,7 @@
* @author Denis Chenu <denis@sondages.pro>
* @copyright 2013 Denis Chenu <http://sondages.pro>
* @license GPL v3
* @version 1.0
* @version 2.0
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -131,8 +131,7 @@ class exampleSettings extends PluginBase {
*/
);
public function __construct(PluginManager $manager, $id) {
parent::__construct($manager, $id);
public function init() {
$this->subscribe('beforeSurveySettings');
$this->subscribe('newSurveySettings');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment