@@ -6,61 +6,61 @@ |
||
| 6 | 6 | namespace OCA\Files_Sharing\Activity\Settings; |
| 7 | 7 | |
| 8 | 8 | class PublicLinksUpload extends ShareActivitySettings { |
| 9 | - /** |
|
| 10 | - * @return string Lowercase a-z and underscore only identifier |
|
| 11 | - * @since 11.0.0 |
|
| 12 | - */ |
|
| 13 | - public function getIdentifier() { |
|
| 14 | - return 'public_links_upload'; |
|
| 15 | - } |
|
| 9 | + /** |
|
| 10 | + * @return string Lowercase a-z and underscore only identifier |
|
| 11 | + * @since 11.0.0 |
|
| 12 | + */ |
|
| 13 | + public function getIdentifier() { |
|
| 14 | + return 'public_links_upload'; |
|
| 15 | + } |
|
| 16 | 16 | |
| 17 | - /** |
|
| 18 | - * @return string A translated string |
|
| 19 | - * @since 11.0.0 |
|
| 20 | - */ |
|
| 21 | - public function getName() { |
|
| 22 | - return $this->l->t('Files have been <strong>uploaded</strong> to a folder shared by mail or by public link'); |
|
| 23 | - } |
|
| 17 | + /** |
|
| 18 | + * @return string A translated string |
|
| 19 | + * @since 11.0.0 |
|
| 20 | + */ |
|
| 21 | + public function getName() { |
|
| 22 | + return $this->l->t('Files have been <strong>uploaded</strong> to a folder shared by mail or by public link'); |
|
| 23 | + } |
|
| 24 | 24 | |
| 25 | - /** |
|
| 26 | - * @return int whether the filter should be rather on the top or bottom of |
|
| 27 | - * the admin section. The filters are arranged in ascending order of the |
|
| 28 | - * priority values. It is required to return a value between 0 and 100. |
|
| 29 | - * @since 11.0.0 |
|
| 30 | - */ |
|
| 31 | - public function getPriority() { |
|
| 32 | - return 20; |
|
| 33 | - } |
|
| 25 | + /** |
|
| 26 | + * @return int whether the filter should be rather on the top or bottom of |
|
| 27 | + * the admin section. The filters are arranged in ascending order of the |
|
| 28 | + * priority values. It is required to return a value between 0 and 100. |
|
| 29 | + * @since 11.0.0 |
|
| 30 | + */ |
|
| 31 | + public function getPriority() { |
|
| 32 | + return 20; |
|
| 33 | + } |
|
| 34 | 34 | |
| 35 | - /** |
|
| 36 | - * @return bool True when the option can be changed for the stream |
|
| 37 | - * @since 11.0.0 |
|
| 38 | - */ |
|
| 39 | - public function canChangeStream() { |
|
| 40 | - return true; |
|
| 41 | - } |
|
| 35 | + /** |
|
| 36 | + * @return bool True when the option can be changed for the stream |
|
| 37 | + * @since 11.0.0 |
|
| 38 | + */ |
|
| 39 | + public function canChangeStream() { |
|
| 40 | + return true; |
|
| 41 | + } |
|
| 42 | 42 | |
| 43 | - /** |
|
| 44 | - * @return bool True when the option can be changed for the stream |
|
| 45 | - * @since 11.0.0 |
|
| 46 | - */ |
|
| 47 | - public function isDefaultEnabledStream() { |
|
| 48 | - return true; |
|
| 49 | - } |
|
| 43 | + /** |
|
| 44 | + * @return bool True when the option can be changed for the stream |
|
| 45 | + * @since 11.0.0 |
|
| 46 | + */ |
|
| 47 | + public function isDefaultEnabledStream() { |
|
| 48 | + return true; |
|
| 49 | + } |
|
| 50 | 50 | |
| 51 | - /** |
|
| 52 | - * @return bool True when the option can be changed for the mail |
|
| 53 | - * @since 11.0.0 |
|
| 54 | - */ |
|
| 55 | - public function canChangeMail() { |
|
| 56 | - return true; |
|
| 57 | - } |
|
| 51 | + /** |
|
| 52 | + * @return bool True when the option can be changed for the mail |
|
| 53 | + * @since 11.0.0 |
|
| 54 | + */ |
|
| 55 | + public function canChangeMail() { |
|
| 56 | + return true; |
|
| 57 | + } |
|
| 58 | 58 | |
| 59 | - /** |
|
| 60 | - * @return bool True when the option can be changed for the stream |
|
| 61 | - * @since 11.0.0 |
|
| 62 | - */ |
|
| 63 | - public function isDefaultEnabledMail() { |
|
| 64 | - return false; |
|
| 65 | - } |
|
| 59 | + /** |
|
| 60 | + * @return bool True when the option can be changed for the stream |
|
| 61 | + * @since 11.0.0 |
|
| 62 | + */ |
|
| 63 | + public function isDefaultEnabledMail() { |
|
| 64 | + return false; |
|
| 65 | + } |
|
| 66 | 66 | } |