diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-12-02 14:49:40 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-12-02 14:49:40 +0100 |
commit | baecfc4080214f37708f8c233c0f9b33df7571fd (patch) | |
tree | 89f2fef954606433ada44284b623dc8a5d066749 /lib/private/share/share.php | |
parent | 8d218bf3ef842d76c2b97a175b28e13054497952 (diff) | |
download | nextcloud-server-baecfc4080214f37708f8c233c0f9b33df7571fd.tar.gz nextcloud-server-baecfc4080214f37708f8c233c0f9b33df7571fd.zip |
Reduce OC_Config usage in lib/
* replaced by proper public interfaces
Diffstat (limited to 'lib/private/share/share.php')
-rw-r--r-- | lib/private/share/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index e59cd3bc8c5..70f9a6e8920 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1149,7 +1149,7 @@ class Share extends Constants { if (!empty($ids)) { $ids = "'".implode("','", $ids)."'"; // TODO this should be done with Doctrine platform objects - if (\OC_Config::getValue( "dbtype") === 'oci') { + if (\OC::$server->getConfig()->getSystemValue("dbtype") === 'oci') { $andOp = 'BITAND(`permissions`, ?)'; } else { $andOp = '`permissions` & ?'; |