(string $f)
| 69 | } |
| 70 | |
| 71 | public static function normalizeFolder(string $f): string |
| 72 | { |
| 73 | $f = trim(str_replace('\\', '/', $f), "/ \t\r\n"); |
| 74 | if ($f === '' || $f === 'root') { |
| 75 | return 'root'; |
| 76 | } |
| 77 | return $f; |
| 78 | } |
| 79 | |
| 80 | public static function purgeUser(string $user): bool |
| 81 | { |
no outgoing calls
no test coverage detected