Verified Commit 5d456e64 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(sinaps) Fix a PHP error from sinapsConfig

Because sinaps was merged after a cleanup it was still using 1.3
 $objectclass var instead of 1.4 plObjectClass.

issue #5930
Showing with 3 additions and 3 deletions
+3 -3
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2017-2018 FusionDirectory
Copyright (C) 2017-2019 FusionDirectory
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -20,13 +21,12 @@
class sinapsConfig extends simplePlugin
{
var $objectclasses = ['fdSinapsPluginConf'];
static function plInfo (): array
{
return [
'plShortName' => _('SINAPS configuration'),
'plDescription' => _('FusionDirectory SINAPS plugin configuration'),
'plObjectClass' => ['fdSinapsPluginConf'],
'plCategory' => ['configuration'],
'plObjectType' => ['smallConfig'],
......
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