Le mirroring des dépôts vers Github est maintenant natif dans Gitlab (et donc Framagit). Merci de passer à la fonction native pour que nous puissions couper notre solution maison. Détails sur https://docs.gitlab.com/ee/workflow/repository_mirroring.html#pushing-to-a-remote-repository (pensez à supprimer le webhook de notre solution maison).

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('beforeSurveySettings');
$this->subscribe('newSurveySettings');
$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