mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
Add addressbook_read_last_entry
This commit is contained in:
parent
4e399e95e5
commit
61463122ff
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user