forked from extern/egroupware
Remove custom statuses for the type when you remove a custom type
This commit is contained in:
parent
12962b77b4
commit
edffbeea99
@ -586,6 +586,7 @@ class customfields
|
|||||||
function delete_content_type(&$content)
|
function delete_content_type(&$content)
|
||||||
{
|
{
|
||||||
unset($this->content_types[$content['content_types']['types']]);
|
unset($this->content_types[$content['content_types']['types']]);
|
||||||
|
unset($this->status[$content['content_types']['types']]);
|
||||||
// save changes to repository
|
// save changes to repository
|
||||||
$this->save_repository();
|
$this->save_repository();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user