@@ -25,45 +25,45 @@ |
||
| 25 | 25 | namespace OCA\Files\Activity\Settings; |
| 26 | 26 | |
| 27 | 27 | class FileChanged extends FileActivitySettings { |
| 28 | - /** |
|
| 29 | - * @return string Lowercase a-z and underscore only identifier |
|
| 30 | - * @since 11.0.0 |
|
| 31 | - */ |
|
| 32 | - public function getIdentifier() { |
|
| 33 | - return 'file_changed'; |
|
| 34 | - } |
|
| 28 | + /** |
|
| 29 | + * @return string Lowercase a-z and underscore only identifier |
|
| 30 | + * @since 11.0.0 |
|
| 31 | + */ |
|
| 32 | + public function getIdentifier() { |
|
| 33 | + return 'file_changed'; |
|
| 34 | + } |
|
| 35 | 35 | |
| 36 | - /** |
|
| 37 | - * @return string A translated string |
|
| 38 | - * @since 11.0.0 |
|
| 39 | - */ |
|
| 40 | - public function getName() { |
|
| 41 | - return $this->l->t('A file or folder has been <strong>changed</strong>'); |
|
| 42 | - } |
|
| 36 | + /** |
|
| 37 | + * @return string A translated string |
|
| 38 | + * @since 11.0.0 |
|
| 39 | + */ |
|
| 40 | + public function getName() { |
|
| 41 | + return $this->l->t('A file or folder has been <strong>changed</strong>'); |
|
| 42 | + } |
|
| 43 | 43 | |
| 44 | - /** |
|
| 45 | - * @return int whether the filter should be rather on the top or bottom of |
|
| 46 | - * the admin section. The filters are arranged in ascending order of the |
|
| 47 | - * priority values. It is required to return a value between 0 and 100. |
|
| 48 | - * @since 11.0.0 |
|
| 49 | - */ |
|
| 50 | - public function getPriority() { |
|
| 51 | - return 2; |
|
| 52 | - } |
|
| 44 | + /** |
|
| 45 | + * @return int whether the filter should be rather on the top or bottom of |
|
| 46 | + * the admin section. The filters are arranged in ascending order of the |
|
| 47 | + * priority values. It is required to return a value between 0 and 100. |
|
| 48 | + * @since 11.0.0 |
|
| 49 | + */ |
|
| 50 | + public function getPriority() { |
|
| 51 | + return 2; |
|
| 52 | + } |
|
| 53 | 53 | |
| 54 | - public function canChangeMail() { |
|
| 55 | - return true; |
|
| 56 | - } |
|
| 54 | + public function canChangeMail() { |
|
| 55 | + return true; |
|
| 56 | + } |
|
| 57 | 57 | |
| 58 | - public function isDefaultEnabledMail() { |
|
| 59 | - return false; |
|
| 60 | - } |
|
| 58 | + public function isDefaultEnabledMail() { |
|
| 59 | + return false; |
|
| 60 | + } |
|
| 61 | 61 | |
| 62 | - public function canChangeNotification() { |
|
| 63 | - return true; |
|
| 64 | - } |
|
| 62 | + public function canChangeNotification() { |
|
| 63 | + return true; |
|
| 64 | + } |
|
| 65 | 65 | |
| 66 | - public function isDefaultEnabledNotification() { |
|
| 67 | - return false; |
|
| 68 | - } |
|
| 66 | + public function isDefaultEnabledNotification() { |
|
| 67 | + return false; |
|
| 68 | + } |
|
| 69 | 69 | } |