PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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).