Commit b9066662 by Denis Chenu

[fix] 2.63.0 limesurvey broke API

parent af8046f6
......@@ -20,7 +20,7 @@
* GNU General Public License for more details.
class sendPdfReport extends PluginBase {
class sendPdfReport extends \ls\pluginmanager\PluginBase {
protected $storage = 'DbStorage';
static protected $description = 'Send a PDF report to specific email (v1.1).';
static protected $name = 'sendPdfReport';
......@@ -29,9 +29,8 @@ class sendPdfReport extends PluginBase {
private $iResponseId;
private $sLanguage;
public function __construct(PluginManager $manager, $id)
public function init()
parent::__construct($manager, $id);
$this->subscribe('afterSurveyComplete', 'mailPdfReport');
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