diff options
| author | 2017-04-10 19:43:43 +0200 | |
|---|---|---|
| committer | 2017-04-10 19:43:43 +0200 | |
| commit | e849de7296efbece490447cdceeed9726f10b33c (patch) | |
| tree | 2949bc44dfcc40138f50b549b944b0c27906f3fa /app/Controllers/userController.php | |
| parent | 5d54e47ff4065167a07085df07a590372ac5d636 (diff) | |
| parent | 09fa7b9ae43cdf5eb7d81a464a197efef203a964 (diff) | |
Merge pull request #1495 from Alkarex/PSHB-unsubscribe
PSHB better unsubscribe
Diffstat (limited to 'app/Controllers/userController.php')
| -rw-r--r-- | app/Controllers/userController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php index f910cecd9..ddc0c6fe4 100644 --- a/app/Controllers/userController.php +++ b/app/Controllers/userController.php @@ -213,6 +213,7 @@ class FreshRSS_user_Controller extends Minz_ActionController { $userDAO = new FreshRSS_UserDAO(); $ok &= $userDAO->deleteUser($username); $ok &= recursive_unlink($user_data); + array_map('unlink', glob(PSHB_PATH . '/feeds/*/' . $username . '.txt')); } return $ok; } |
