Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-09-16 16:53:51 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-09-16 16:53:56 +0300
commit99c9423766a01feff5f9fd6ef67153d45158dcd7 (patch)
tree87ef47f14f65440e5541f28caba7b5431cbb9bad /lib/private/Files/Cache
parent04a3580d19ae505efd0ac31e4c419bf5dd701563 (diff)
Remove @suppress SqlInjectionChecker
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Files/Cache')
-rw-r--r--lib/private/Files/Cache/Cache.php3
-rw-r--r--lib/private/Files/Cache/Propagator.php2
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php
index 77289e674b3..8a173f35197 100644
--- a/lib/private/Files/Cache/Cache.php
+++ b/lib/private/Files/Cache/Cache.php
@@ -254,8 +254,6 @@ class Cache implements ICache {
*
* @return int file id
* @throws \RuntimeException
- *
- * @suppress SqlInjectionChecker
*/
public function insert($file, array $data) {
// normalize file
@@ -613,7 +611,6 @@ class Cache implements ICache {
* @param string $targetPath
* @throws \OC\DatabaseException
* @throws \Exception if the given storages have an invalid id
- * @suppress SqlInjectionChecker
*/
public function moveFromCache(ICache $sourceCache, $sourcePath, $targetPath) {
if ($sourceCache instanceof Cache) {
diff --git a/lib/private/Files/Cache/Propagator.php b/lib/private/Files/Cache/Propagator.php
index 92fa6436548..c9200d33b11 100644
--- a/lib/private/Files/Cache/Propagator.php
+++ b/lib/private/Files/Cache/Propagator.php
@@ -63,7 +63,6 @@ class Propagator implements IPropagator {
* @param string $internalPath
* @param int $time
* @param int $sizeDifference number of bytes the file has grown
- * @suppress SqlInjectionChecker
*/
public function propagateChange($internalPath, $time, $sizeDifference = 0) {
// Do not propogate changes in ignored paths
@@ -156,7 +155,6 @@ class Propagator implements IPropagator {
/**
* Commit the active propagation batch
- * @suppress SqlInjectionChecker
*/
public function commitBatch() {
if (!$this->inBatch) {