- take out check for guestID in addNotify()

This commit is contained in:
steinm 2010-11-30 12:52:39 +00:00
parent 2609b23bc8
commit 73ca9f3a40

View File

@ -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()) {