mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 04:40:05 -06:00
Removed, runOcc method from setupHelper
This commit is contained in:
@@ -792,34 +792,6 @@ class SetupHelper extends \PHPUnit\Framework\Assert {
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* invokes an OCC command
|
||||
*
|
||||
* @param array|null $args anything behind "occ".
|
||||
* For example: "files:transfer-ownership"
|
||||
* @param string|null $xRequestId
|
||||
* @param string|null $adminUsername
|
||||
* @param string|null $adminPassword
|
||||
* @param string|null $baseUrl
|
||||
* @param string|null $ocPath
|
||||
* @param array|null $envVariables
|
||||
*
|
||||
* @return string[] associated array with "code", "stdOut", "stdErr"
|
||||
* @throws GuzzleException
|
||||
* @throws Exception
|
||||
*/
|
||||
public static function runOcc(
|
||||
?array $args,
|
||||
?string $xRequestId = '',
|
||||
?string $adminUsername = null,
|
||||
?string $adminPassword = null,
|
||||
?string $baseUrl = null,
|
||||
?string $ocPath = null,
|
||||
?array $envVariables = null
|
||||
):array {
|
||||
return ['code' => '', 'stdOut' => '', 'stdErr' => '' ];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $baseUrl
|
||||
* @param string $user
|
||||
|
||||
Reference in New Issue
Block a user