File tree Expand file tree Collapse file tree
apps/files/lib/BackgroundJob Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414use OCP \BackgroundJob \TimedJob ;
1515use OCP \DB \QueryBuilder \IQueryBuilder ;
1616use OCP \EventDispatcher \IEventDispatcher ;
17+ use OCP \Files \ISetupManager ;
1718use OCP \IConfig ;
1819use OCP \IDBConnection ;
1920use OCP \IUserManager ;
@@ -56,7 +57,7 @@ protected function runScanner(string $user): void {
5657 } catch (\Exception $ e ) {
5758 $ this ->logger ->error ($ e ->getMessage (), ['exception ' => $ e , 'app ' => 'files ' ]);
5859 }
59- \OC_Util:: tearDownFS ();
60+ $ this -> setupManager -> tearDown ();
6061 }
6162
6263 /**
@@ -123,10 +124,10 @@ private function getAllMountedStorages(): array {
123124 }
124125
125126 /**
126- * @param $argument
127+ * @param $argument
127128 * @throws \Exception
128129 */
129- protected function run ($ argument ) {
130+ protected function run ($ argument ): void {
130131 if ($ this ->config ->getSystemValueBool ('files_no_background_scan ' , false )) {
131132 return ;
132133 }
Original file line number Diff line number Diff line change 12011201 <code ><![CDATA[ $this->fileIsEncrypted]]> </code >
12021202 </TypeDoesNotContainType >
12031203 </file >
1204- <file src =" apps/files/lib/BackgroundJob/ScanFiles.php" >
1205- <DeprecatedClass >
1206- <code ><![CDATA[ \OC_Util::tearDownFS()]]> </code >
1207- </DeprecatedClass >
1208- <DeprecatedMethod >
1209- <code ><![CDATA[ \OC_Util::tearDownFS()]]> </code >
1210- </DeprecatedMethod >
1211- </file >
12121204 <file src =" apps/files/lib/Command/Object/Multi/Users.php" >
12131205 <DeprecatedMethod >
12141206 <code ><![CDATA[ getUsersForUserValue]]> </code >
You can’t perform that action at this time.
0 commit comments