Do not allow the user to modify/delete objects designed for logging (change tracking, error log, information log, etc.)

SVN:trunk[440]
This commit is contained in:
Romain Quetiez
2010-06-08 09:33:14 +00:00
parent a813a1e50a
commit 4d3fbf1f79
7 changed files with 47 additions and 17 deletions

View File

@@ -55,6 +55,11 @@ class Event extends cmdbAbstractObject
// MetaModel::Init_SetZListItems('standard_search', array('name')); // Criteria of the std search form
// MetaModel::Init_SetZListItems('advanced_search', array('name')); // Criteria of the advanced search form
}
static public function IsReadOnly()
{
return true;
}
}
class EventNotification extends Event