diff options
Diffstat (limited to 'apps/files_external/controller/ajaxcontroller.php')
-rw-r--r-- | apps/files_external/controller/ajaxcontroller.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/files_external/controller/ajaxcontroller.php b/apps/files_external/controller/ajaxcontroller.php index 86c1b657c91..67c32422b1c 100644 --- a/apps/files_external/controller/ajaxcontroller.php +++ b/apps/files_external/controller/ajaxcontroller.php @@ -23,7 +23,6 @@ namespace OCA\Files_External\Controller; -use OCA\Files_External\Lib\Auth\Password\GlobalAuth; use OCP\AppFramework\Controller; use OCP\IRequest; use OCP\AppFramework\Http\JSONResponse; @@ -32,13 +31,10 @@ use OCA\Files_External\Lib\Auth\PublicKey\RSA; class AjaxController extends Controller { /** @var RSA */ private $rsaMechanism; - /** @var GlobalAuth */ - private $globalAuth; - public function __construct($appName, IRequest $request, RSA $rsaMechanism, GlobalAuth $globalAuth) { + public function __construct($appName, IRequest $request, RSA $rsaMechanism) { parent::__construct($appName, $request); $this->rsaMechanism = $rsaMechanism; - $this->globalAuth = $globalAuth; } private function generateSshKeys() { @@ -64,9 +60,4 @@ class AjaxController extends Controller { 'status' => 'success' )); } - - public function saveGlobalCredentials($uid, $user, $password) { - $this->globalAuth->saveAuth($uid, $user, $password); - return true; - } } |