mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-09 19:38:57 +00:00
- take out check for guestID in addNotify()
This commit is contained in:
parent
2609b23bc8
commit
73ca9f3a40
|
@ -674,9 +674,11 @@ class LetoDMS_Folder {
|
||||||
/* Verify that the requesting user has permission to add the target to
|
/* Verify that the requesting user has permission to add the target to
|
||||||
* the notification system.
|
* the notification system.
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
if ($user->getID() == $this->_dms->guestID) {
|
if ($user->getID() == $this->_dms->guestID) {
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if (!$user->isAdmin()) {
|
if (!$user->isAdmin()) {
|
||||||
if ($isUser) {
|
if ($isUser) {
|
||||||
if ($user->getID() != $obj->getID()) {
|
if ($user->getID() != $obj->getID()) {
|
||||||
|
@ -783,9 +785,11 @@ class LetoDMS_Folder {
|
||||||
/* Verify that the requesting user has permission to add the target to
|
/* Verify that the requesting user has permission to add the target to
|
||||||
* the notification system.
|
* the notification system.
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
if ($user->getID() == $this->_dms->guestID) {
|
if ($user->getID() == $this->_dms->guestID) {
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if (!$user->isAdmin()) {
|
if (!$user->isAdmin()) {
|
||||||
if ($isUser) {
|
if ($isUser) {
|
||||||
if ($user->getID() != $obj->getID()) {
|
if ($user->getID() != $obj->getID()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user