PEAR is archived and read-only

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

Home » Networking » Net_Cyrus » Bug #1705

Documentation bug

Details

Submitted2004-06-23 07:14 UTC
Frommiham at bibl dot u-szeged dot hu
Assigneddamian
StatusClosed
PackageNet_Cyrus
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2004-06-23 07:14 UTC] miham at bibl dot u-szeged dot hu

Description:
------------
There is a bug in the API documentation.
The documentation of the deleteUser() method is probably cut and pasted from the createUser() method documentation, and author forgot to modify the doc. It's strange a bit..

Reproduce code:
---------------
/**
* creates a user. Use this instead of createMailbox
*
* @param string $user_name the user to create
*
* @return mixed true on Success/PearError on Failure
* @access public
*/
function deleteUser($user_name)
{
$user_name=$this->getUserName($user_name);
return $this->deleteMailbox($user_name);
}