Fix missing delete of ajax file

This commit is contained in:
Laurent Destailleur 2026-04-04 13:07:19 +02:00
parent e06fac4460
commit ccef1102e6

View file

@ -2061,6 +2061,7 @@ if ($dirins && $action == 'confirm_deleteobject' && $objectname /* && $user->has
'myobject_agenda.php' => strtolower($objectname).'_agenda.php',
'myobject_list.php' => strtolower($objectname).'_list.php',
'admin/myobject_extrafields.php' => 'admin/'.strtolower($objectname).'_extrafields.php',
'ajax/myobject.lib.php' => 'ajax/'.strtolower($objectname).'.php',
'lib/mymodule_myobject.lib.php' => 'lib/'.strtolower($module).'_'.strtolower($objectname).'.lib.php',
'test/phpunit/MyObjectTest.php' => 'test/phpunit/'.strtolower($objectname).'Test.php',
'sql/llx_mymodule_myobject.sql' => 'sql/llx_'.strtolower($module).'_'.strtolower($objectname).'.sql',