| @@ 102-109 (lines=8) @@ | ||
| 99 | ); |
|
| 100 | } |
|
| 101 | ||
| 102 | public function checkScanWarning($fullPath, OutputInterface $output) { |
|
| 103 | $normalizedPath = basename(\OC\Files\Filesystem::normalizePath($fullPath)); |
|
| 104 | $path = basename($fullPath); |
|
| 105 | ||
| 106 | if ($normalizedPath !== $path) { |
|
| 107 | $output->writeln("\t<error>Entry \"" . $fullPath . '" will not be accessible due to incompatible encoding</error>'); |
|
| 108 | } |
|
| 109 | } |
|
| 110 | ||
| 111 | protected function scanFiles($user, $path, $verbose, OutputInterface $output, $backgroundScan = false) { |
|
| 112 | $connection = $this->reconnectToDatabase($output); |
|
| @@ 62-69 (lines=8) @@ | ||
| 59 | ); |
|
| 60 | } |
|
| 61 | ||
| 62 | public function checkScanWarning($fullPath, OutputInterface $output) { |
|
| 63 | $normalizedPath = basename(\OC\Files\Filesystem::normalizePath($fullPath)); |
|
| 64 | $path = basename($fullPath); |
|
| 65 | ||
| 66 | if ($normalizedPath !== $path) { |
|
| 67 | $output->writeln("\t<error>Entry \"" . $fullPath . '" will not be accessible due to incompatible encoding</error>'); |
|
| 68 | } |
|
| 69 | } |
|
| 70 | ||
| 71 | protected function scanFiles($verbose, OutputInterface $output) { |
|
| 72 | try { |
|