FsPages laisse la place à Gitlab Pages ! Voici la documentation pour vous en servir : https://docs.gitlab.com/ce/user/project/pages/index.html

Commit b9066662 by Denis Chenu

[fix] 2.63.0 limesurvey broke API

1 parent af8046f6
Showing with 2 additions and 3 deletions
......@@ -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('beforeSurveySettings');
$this->subscribe('newSurveySettings');
$this->subscribe('afterSurveyComplete', 'mailPdfReport');
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!