diff --git a/lib/Listener/BeforeTemplateRenderedListener.php b/lib/Listener/BeforeTemplateRenderedListener.php index 23bfa69b5..7c7605063 100644 --- a/lib/Listener/BeforeTemplateRenderedListener.php +++ b/lib/Listener/BeforeTemplateRenderedListener.php @@ -29,12 +29,12 @@ use OCA\FirstRunWizard\AppInfo\Application; use OCA\FirstRunWizard\Notification\AppHint; use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent; +use OCP\AppFramework\Services\IInitialState; use OCP\BackgroundJob\IJobList; use OCP\Defaults; use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use OCP\IConfig; -use OCP\AppFramework\Services\IInitialState; use OCP\IUser; use OCP\IUserSession; use OCP\Util; diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 70eea2a91..45870e52d 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -48,10 +48,10 @@ class Notifier implements INotifier { protected $config; public function __construct(IFactory $factory, - IUserManager $userManager, - INotificationManager $notificationManager, - IURLGenerator $urlGenerator, - IConfig $config) { + IUserManager $userManager, + INotificationManager $notificationManager, + IURLGenerator $urlGenerator, + IConfig $config) { $this->factory = $factory; $this->userManager = $userManager; $this->notificationManager = $notificationManager; diff --git a/lib/Settings/Personal.php b/lib/Settings/Personal.php index 408ba6e2d..472a30dc1 100644 --- a/lib/Settings/Personal.php +++ b/lib/Settings/Personal.php @@ -25,8 +25,8 @@ use OCP\AppFramework\Http\TemplateResponse; use OCP\IConfig; -use OCP\Settings\ISettings; use OCP\IURLGenerator; +use OCP\Settings\ISettings; class Personal implements ISettings { diff --git a/templates/personal-settings.php b/templates/personal-settings.php index b7c69e226..9d29a4343 100644 --- a/templates/personal-settings.php +++ b/templates/personal-settings.php @@ -52,9 +52,9 @@ getURLGenerator()->linkToRoute('settings.PersonalSettings.index', ['section' => 'security']); - $macOSProfile = \OCP\Util::linkToRemote('dav') . 'provisioning/apple-provisioning.mobileconfig'; - $usesTLS = \OC::$server->getRequest()->getServerProtocol() === 'https'; - ?> +$macOSProfile = \OCP\Util::linkToRemote('dav') . 'provisioning/apple-provisioning.mobileconfig'; +$usesTLS = \OC::$server->getRequest()->getServerProtocol() === 'https'; +?>
t('Set up sync clients using an app password. That way you can make sure you are able to revoke access in case you lose that device.', [$appPasswordUrl])); ?>