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

ensure resource name is unique

This commit is contained in:
Jonathan Treffler 2024-10-30 01:51:48 +01:00
parent 949e1a42d1
commit af661c5c26
4 changed files with 74 additions and 17 deletions

View file

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