Forums / Developer / Making objects not always available after creating them

Making objects not always available after creating them

Author Message

Ville Mattila

Sunday 04 March 2007 5:30:12 am

Hi there,

Well, this is generally poor planning but plans change. ;) I should mark all Folder objects not to be always available (in all translations). How can I do this afterwards as I read from docu that the object availability is defined at time of creation of the object?

Thanks,
Ville

Ville Mattila

Sunday 04 March 2007 5:56:59 am

Helping myself... =)

UPDATE ezcontentobject SET language_mask = language_mask-1 WHERE MOD(language_mask,2)=1

Only some classes can be changed with proper WHERE clause.