diff options
Diffstat (limited to 'app/Controllers/userController.php')
| -rw-r--r-- | app/Controllers/userController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php index f23ae008e..1eb7f2b84 100644 --- a/app/Controllers/userController.php +++ b/app/Controllers/userController.php @@ -389,8 +389,10 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController { $ok &= is_dir($user_data); if ($ok) { FreshRSS_fever_Util::deleteKey($username); + Minz_ModelPdo::$usesSharedPdo = false; $oldUserDAO = FreshRSS_Factory::createUserDao($username); $ok &= $oldUserDAO->deleteUser(); + Minz_ModelPdo::$usesSharedPdo = true; $ok &= recursive_unlink($user_data); $filenames = glob(PSHB_PATH . '/feeds/*/' . $username . '.txt'); if (!empty($filenames)) { |
