Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 811ecabf authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

rnd: add requestedApp param for test

parent 281e3fba
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ class Application extends App implements IBootstrap {
	 * @return StorageWrapper|IStorage
	 */
	public function addStorageWrapperCallback($mountPoint, IStorage $storage) {
		if (\OC::$CLI && (\OC::$REQUESTEDAPP === "ecloud-accounts" || \OC::$REQUESTEDAPP === "encryption")) {
		if (\OC::$CLI && \OC::$REQUESTEDAPP === self::APP_ID) {
			return $storage;
		}

+1 −0
Original line number Diff line number Diff line
@@ -206,6 +206,7 @@ class Scan extends Base {
	}

	protected function execute(InputInterface $input, OutputInterface $output): int {
		\OC::$REQUESTEDAPP = Application::APP_ID;
		$inputPath = $input->getOption('path');
		if ($inputPath) {
			$inputPath = '/' . trim($inputPath, '/');