| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public static function deleteUser($params) { |
||
| 24 | $userId = $params['uid']; |
||
| 25 | |||
| 26 | $app = new Application(); |
||
| 27 | $container = $app->getContainer(); |
||
| 28 | |||
| 29 | // order is important! |
||
| 30 | $container->query(ItemService::class)->deleteUser($userId); |
||
| 31 | $container->query(FeedService::class)->deleteUser($userId); |
||
| 32 | $container->query(FolderService::class)->deleteUser($userId); |
||
| 33 | } |
||
| 34 | |||
| 36 |