Skip to content

Commit

Permalink
fix(form): unused class usage
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed May 28, 2020
1 parent e565cb7 commit f2a4b2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion inc/exportable.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ trait PluginFormcreatorExportable
public function exportChildrenObjects($subItems, $export, $remove_uuid = false) {
global $DB;

$fk = static::getForeignKeyField();
foreach ($subItems as $key => $itemtypes) {
if (!is_array($itemtypes)) {
$itemtypes = [$itemtypes];
Expand Down
1 change: 0 additions & 1 deletion inc/form_validator.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
* ---------------------------------------------------------------------
*/

use tests\units\PluginFormcreatorForm_Validator as TestsPluginFormcreatorForm_Validator;
use GlpiPlugin\Formcreator\Exception\ImportFailureException;

if (!defined('GLPI_ROOT')) {
Expand Down

0 comments on commit f2a4b2c

Please sign in to comment.