forked from extern/egroupware
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) {
|
function addressbook_add_entry($userid,$fields) {
|
||||||
global $this,$rights;
|
global $this,$rights;
|
||||||
if ($rights & PHPGW_ACL_ADD) {
|
if ($rights & PHPGW_ACL_ADD) {
|
||||||
|
Loading…
Reference in New Issue
Block a user