API documentation for api_plugin_user_realm_auth ?

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

API documentation for api_plugin_user_realm_auth ?

Post by phalek »

1st question: Anyone has an idea how that function works ?

It seems to have changed during the API life. the pre 2.x version seemed to return the actaul realm id, whereas the 2.x version just returns "true" or "false".

2nd question: Is the manually set Plugin RealmID actually used anymore ?

Seems like that changed too, PIA 2.x seems to automatically assign realm ids to the plugins, hence the change in the above mentioned function ... ?
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

I think that this all is made what to leave from rigid instruction Realm_id and possible mess.
One more remark api_plugin_register_realm is processed only at installation of a plugin. I.e. for change of the rights to files it is necessary to reinstall a plugin (with removal of tables)
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests