Forum .LRN Q&A: Re: Can't view forums in brand new installation

Collapse
Posted by Dave Bauer on
Jim

There are already functions to return this information: acs__magic_object_id, which queries this table:


# select * from acs_magic_objects;
         name          | object_id 
-----------------------+-----------
 security_context_root |         0
 the_public            |        -1
 registered_users      |        -2
 default_context       |        -3
Most code uses that function. Any place that does not will need to be fixed.