mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +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
|
||||
* the notification system.
|
||||
*/
|
||||
/*
|
||||
if ($user->getID() == $this->_dms->guestID) {
|
||||
return -2;
|
||||
}
|
||||
*/
|
||||
if (!$user->isAdmin()) {
|
||||
if ($isUser) {
|
||||
if ($user->getID() != $obj->getID()) {
|
||||
|
@ -783,9 +785,11 @@ class LetoDMS_Folder {
|
|||
/* Verify that the requesting user has permission to add the target to
|
||||
* the notification system.
|
||||
*/
|
||||
/*
|
||||
if ($user->getID() == $this->_dms->guestID) {
|
||||
return -2;
|
||||
}
|
||||
*/
|
||||
if (!$user->isAdmin()) {
|
||||
if ($isUser) {
|
||||
if ($user->getID() != $obj->getID()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user