@@ -27,11 +27,11 @@ |
||
| 27 | 27 | use OCP\AppFramework\Db\Entity; |
| 28 | 28 | |
| 29 | 29 | class PermissionEntity extends Entity { |
| 30 | - CONST READ = 0b00000001; |
|
| 31 | - CONST WRITE = 0b00000010; |
|
| 32 | - CONST FILES = 0b00000100; |
|
| 33 | - CONST HISTORY = 0b00001000; |
|
| 34 | - CONST OWNER = 0b10000000; |
|
| 30 | + const READ = 0b00000001; |
|
| 31 | + const WRITE = 0b00000010; |
|
| 32 | + const FILES = 0b00000100; |
|
| 33 | + const HISTORY = 0b00001000; |
|
| 34 | + const OWNER = 0b10000000; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Checks wether a user matches one or more permissions at once |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | use OCA\Passman\Service\VaultService; |
| 39 | 39 | use OCA\Passman\Utility\Utils; |
| 40 | 40 | use OCA\Passman\Service\NotificationService; |
| 41 | -Use OCA\Passman\Service\SettingsService; |
|
| 41 | +use OCA\Passman\Service\SettingsService; |
|
| 42 | 42 | use OCP\IConfig; |
| 43 | 43 | use OCP\IDBConnection; |
| 44 | 44 | |