File tree 3 files changed +61
-61
lines changed
3 files changed +61
-61
lines changed Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
/**
5
- * SPDX-FileCopyrightText: 2020- 2025 LibreCode coop and contributors
5
+ * SPDX-FileCopyrightText: 2025 LibreCode coop and contributors
6
6
* SPDX-License-Identifier: AGPL-3.0-or-later
7
7
*/
8
8
9
9
namespace OCA \Libresign \Activity \Settings ;
10
10
11
11
use OCP \IL10N ;
12
12
13
- class FileToSign extends SignActivitySettings {
13
+ class FileToSign extends LibresignActivitySettings {
14
14
public function __construct (
15
15
protected IL10N $ l ,
16
16
) {
@@ -31,35 +31,4 @@ public function getIdentifier(): string {
31
31
public function getName (): string {
32
32
return $ this ->l ->t ('You have a <strong>file to sign</strong> ' );
33
33
}
34
-
35
- /**
36
- * {@inheritdoc}
37
- */
38
- public function getPriority (): int {
39
- return 51 ;
40
- }
41
- /**
42
- * {@inheritdoc}
43
- */
44
- public function canChangeNotification (): bool {
45
- return true ;
46
- }
47
- /**
48
- * {@inheritdoc}
49
- */
50
- public function canChangeMail () {
51
- return true ;
52
- }
53
- /**
54
- * {@inheritdoc}
55
- */
56
- public function isDefaultEnabledMail () {
57
- return true ;
58
- }
59
- /**
60
- * {@inheritdoc}
61
- */
62
- public function isDefaultEnabledNotification (): bool {
63
- return true ;
64
- }
65
34
}
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ /**
6
+ * SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
7
+ * SPDX-License-Identifier: AGPL-3.0-or-later
8
+ */
9
+ namespace OCA \Libresign \Activity \Settings ;
10
+
11
+ use OCP \Activity \ActivitySettings ;
12
+
13
+ abstract class LibresignActivitySettings extends ActivitySettings {
14
+
15
+ /**
16
+ * {@inheritdoc}
17
+ */
18
+ public function getGroupIdentifier () {
19
+ return 'libresign ' ;
20
+ }
21
+
22
+ /**
23
+ * {@inheritdoc}
24
+ */
25
+ public function getGroupName () {
26
+ return 'LibreSign ' ;
27
+ }
28
+
29
+ /**
30
+ * {@inheritdoc}
31
+ */
32
+ public function getPriority (): int {
33
+ return 51 ;
34
+ }
35
+ /**
36
+ * {@inheritdoc}
37
+ */
38
+ public function canChangeNotification (): bool {
39
+ return true ;
40
+ }
41
+ /**
42
+ * {@inheritdoc}
43
+ */
44
+ public function canChangeMail () {
45
+ return true ;
46
+ }
47
+ /**
48
+ * {@inheritdoc}
49
+ */
50
+ public function isDefaultEnabledMail () {
51
+ return true ;
52
+ }
53
+ /**
54
+ * {@inheritdoc}
55
+ */
56
+ public function isDefaultEnabledNotification (): bool {
57
+ return true ;
58
+ }
59
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments