PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » LiveUser » Bug #454

LiveUser_Perm_DB_Common::setUserAreaAdmin suggestion

Details

Submitted2003-12-18 16:21 UTC
Fromjmikola at burgiss dot com
Assignedarnaud
StatusClosed
PackageLiveUser
PHP VersionIrrelevant
OSANY
Roadmaps(Not assigned)

Comments

[2003-12-18 16:21 UTC] jmikola at burgiss dot com

Description:
------------
considering that this function inserts a new database record, and has a corresponding remove function, would it make more sense to have it named addUserAreaAdmin?

also, according to the db schema, the primary key of this table (area_admin_areas) is the perm_user_id and area_id, which implies that an area may have multiple admins (setUserAreaAdmin also seems to imply only one).