public function deleteUser($login)
	{
		if (strlen($login) < 1) {
			throw new InvalidArgumentException("Login can't be empty");
		}
		$client = new CouchClient($this->client->dsn(), $this->usersdb);
		$doc = $client->getDoc("org.couchdb.user:" . $login);
		return $client->deleteDoc($doc);
	}
public function deleteUser($login)
	{
		if (strlen($login) < 1) {
			throw new InvalidArgumentException("Login can't be empty");
		}
		$client = new CouchClient($this->client->dsn(), $this->usersdb);
		$doc = $client->getDoc("org.couchdb.user:" . $login);
		return $client->deleteDoc($doc);
	}
public function deleteUser ( $ login ) { if ( strlen ( $ login ) < 1 ) { throw new InvalidArgumentException ( "Login can't be empty" ) ; } $ client = new CouchClient ( $ this -> client -> dsn ( ) , $ this -> usersdb ) ; $ doc = $ client -> getDoc ( "org.couchdb.user:" . $ login ) ; return $ client -> deleteDoc ( $ doc ) ; }
Permanently removes a CouchDB User


@param string $login user login
@return stdClass CouchDB server response
@throws InvalidArgumentException
Permanently removes a CouchDB User