mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
- remove some global statements in functions where it is not used
This commit is contained in:
parent
5aadeb9318
commit
6f68193ffc
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user