Commit 6853328f authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(core) Add minimal plInfo in snapshot dialogs

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

issue #5810
Showing with 14 additions and 0 deletions
+14 -0
...@@ -26,6 +26,13 @@ class SnapshotCreateDialog extends simplePlugin ...@@ -26,6 +26,13 @@ class SnapshotCreateDialog extends simplePlugin
{ {
public $aclCategory; public $aclCategory;
static function plInfo()
{
return array(
'plShortName' => 'SnapshotCreateDialog',
);
}
static function getAttributesInfo () static function getAttributesInfo ()
{ {
return array( return array(
...@@ -236,6 +243,13 @@ class SnapshotRestoreDialog extends simplePlugin ...@@ -236,6 +243,13 @@ class SnapshotRestoreDialog extends simplePlugin
protected $snapDn; protected $snapDn;
protected $snapAction; protected $snapAction;
static function plInfo()
{
return array(
'plShortName' => 'SnapshotRestoreDialog',
);
}
static function getAttributesInfo () static function getAttributesInfo ()
{ {
return array( return array(
......
Supports Markdown
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