From 6853328f9c68c4b2f9cd30dacf0afa0f3996e269 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Wed, 11 Apr 2018 10:01:00 +0200
Subject: [PATCH] :ambulance: fix(core) Add minimal plInfo in snapshot dialogs

This avoids PHP errors due to missing classes in pluglist::infos

issue #5810
---
 include/class_SnapshotDialogs.inc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/include/class_SnapshotDialogs.inc b/include/class_SnapshotDialogs.inc
index 027f14a02..564815946 100644
--- a/include/class_SnapshotDialogs.inc
+++ b/include/class_SnapshotDialogs.inc
@@ -26,6 +26,13 @@ class SnapshotCreateDialog extends simplePlugin
 {
   public $aclCategory;
 
+  static function plInfo()
+  {
+    return array(
+      'plShortName' => 'SnapshotCreateDialog',
+    );
+  }
+
   static function getAttributesInfo ()
   {
     return array(
@@ -236,6 +243,13 @@ class SnapshotRestoreDialog extends simplePlugin
   protected $snapDn;
   protected $snapAction;
 
+  static function plInfo()
+  {
+    return array(
+      'plShortName' => 'SnapshotRestoreDialog',
+    );
+  }
+
   static function getAttributesInfo ()
   {
     return array(
-- 
GitLab