0
0
Fork 0
mirror of https://github.com/verdigado/organization_folders.git synced 2024-12-06 11:22:41 +01:00

improved organization folder service: added function to find by id, return model entity after creation, added function to remove

This commit is contained in:
Jonathan Treffler 2024-11-02 20:14:52 +01:00
parent 79a1c1e9f3
commit 9487ddc910
3 changed files with 45 additions and 5 deletions

View file

@ -0,0 +1,9 @@
<?php
namespace OCA\OrganizationFolders\Errors;
class OrganizationFolderNotFound extends NotFoundException {
public function __construct($id) {
parent::__construct(\OCA\OrganizationFolders\Model\OrganizationFolder::class, ["id" => $id]);
}
}