mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
ocsmsapp.php cleanup & fix
This commit is contained in:
@@ -17,20 +17,16 @@ use \OCP\AppFramework\Controller;
|
||||
use \OCP\AppFramework\Http\JSONResponse;
|
||||
use \OCP\AppFramework\Http;
|
||||
|
||||
use \OCA\OcSms\AppInfo\OcSmsApp;
|
||||
|
||||
use \OCA\OcSms\Db\ConfigMapper;
|
||||
|
||||
use \OCA\OcSms\Lib\CountryCodes;
|
||||
|
||||
class SettingsController extends Controller {
|
||||
|
||||
private $app;
|
||||
private $configMapper;
|
||||
|
||||
public function __construct ($appName, IRequest $request, ConfigMapper $cfgMapper, OcSmsApp $app){
|
||||
public function __construct ($appName, IRequest $request, ConfigMapper $cfgMapper){
|
||||
parent::__construct($appName, $request);
|
||||
$this->app = $app;
|
||||
$this->configMapper = $cfgMapper;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user