diff options
author | Russ Allbery <rra@stanford.edu> | 2008-01-22 22:49:38 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-01-22 22:49:38 +0000 |
commit | c71e0f8ecdb1530f13d870117dc91b5e64116d59 (patch) | |
tree | 62ef63986c5af749939b19add207e30d040a9178 | |
parent | 8014b90805aa85adf1d1155cbb07fa77e5c58f62 (diff) |
Update documentation for the API to Wallet::Object::Base and
Wallet::ACL to take Wallet::Database objects instead of database
handles.
-rw-r--r-- | perl/Wallet/ACL.pm | 6 | ||||
-rw-r--r-- | perl/Wallet/Object/Base.pm | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/perl/Wallet/ACL.pm b/perl/Wallet/ACL.pm index b9c710c..0e1018f 100644 --- a/perl/Wallet/ACL.pm +++ b/perl/Wallet/ACL.pm @@ -475,9 +475,9 @@ references. =item new(ACL, DBH) Instantiate a new ACL object with the given ACL ID or name. Takes the -database handle to use for retrieving metadata from the wallet database. -Returns a new ACL object if the ACL was found and throws an exception if it -wasn't or on any other error. +Wallet::Database object to use for retrieving metadata from the wallet +database. Returns a new ACL object if the ACL was found and throws an +exception if it wasn't or on any other error. =item create(NAME, DBH, PRINCIPAL, HOSTNAME [, DATETIME]) diff --git a/perl/Wallet/Object/Base.pm b/perl/Wallet/Object/Base.pm index e712fd7..bc4f096 100644 --- a/perl/Wallet/Object/Base.pm +++ b/perl/Wallet/Object/Base.pm @@ -678,10 +678,8 @@ object exits, throws an exception. Otherwise, returns an object blessed into the class used for the new() call (so subclasses can leave this method alone and not override it). -Takes a database handle, which is stored in the object and used for any -further operations. This database handle is taken over by the wallet system -and its settings (such as RaiseError and AutoCommit) will be modified by the -object for its own needs. +Takes a Wallet::Database object, which is stored in the object and used for +any further operations. =item create(TYPE, NAME, DBH, PRINCIPAL, HOSTNAME [, DATETIME]) |