Add addressbook_read_last_entry

This commit is contained in:
Miles Lott 2001-03-18 02:46:50 +00:00
parent 4e399e95e5
commit 61463122ff

View File

@ -108,6 +108,17 @@
}
}
function addressbook_read_last_entry($fields) {
global $this,$rights;
if ($rights & PHPGW_ACL_READ) {
$entry = $this->read_last_entry($fields);
return $entry;
} else {
$rtrn = array("No access" => "No access");
return $rtrn;
}
}
function addressbook_add_entry($userid,$fields) {
global $this,$rights;
if ($rights & PHPGW_ACL_ADD) {