Unverified Commit 2b8b9a5c authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(objects) objects::delete should return errors

issue #6119
Showing with 2 additions and 2 deletions
+2 -2
......@@ -400,10 +400,10 @@ class objects
return static::open('new', $type);
}
static function delete (string $dn, string $type, bool $checkAcl = TRUE)
static function delete (string $dn, string $type, bool $checkAcl = TRUE): array
{
$tabObject = static::open($dn, $type);
$tabObject->delete($checkAcl);
return $tabObject->delete($checkAcl);
}
static function createTemplate (string $type): simpleTabs
......
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