- remove some global statements in functions where it is not used

This commit is contained in:
steinm 2010-11-04 07:42:54 +00:00
parent 5aadeb9318
commit 6f68193ffc

View File

@ -170,7 +170,7 @@ class LetoDMS_Document
function setKeywords($newKeywords) function setKeywords($newKeywords)
{ {
GLOBAL $db, $user, $settings; GLOBAL $db;
$queryStr = "UPDATE tblDocuments SET keywords = '" . $newKeywords . "' WHERE id = ". $this->_id; $queryStr = "UPDATE tblDocuments SET keywords = '" . $newKeywords . "' WHERE id = ". $this->_id;
if (!$db->getResult($queryStr)) if (!$db->getResult($queryStr))
@ -673,8 +673,6 @@ class LetoDMS_Document
function getGroupAccessMode($group) { function getGroupAccessMode($group) {
global $settings;
$highestPrivileged = M_NONE; $highestPrivileged = M_NONE;
//ACLs durchforsten //ACLs durchforsten
@ -698,7 +696,6 @@ class LetoDMS_Document
//Standard-Berechtigung verwenden //Standard-Berechtigung verwenden
return $this->getDefaultAccess(); return $this->getDefaultAccess();
} }
function getNotifyList() { function getNotifyList() {