1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00
appwrite/app/controllers
Steven Nguyen 719aa67afa
Remove PDO rethrow
The PDOException was rethrown in general.php so that it could be caught
in the catch block of http.php. However, [a change in
utopia-php/framework](9d37326851)
caused the exception to be masked as an Exception rather than the
underlying PDOException. As such, the `$th instanceof PDOException` in
http.php is always false and `$db = null` is never executed. Since these
snippets of code aren't doing anything or adding value, they should be
removed.

In addition, the `$db = null` may have been added to ensure the
connection was added back to the pool and/or reset if needed, but it
seems like that's not a problem anymore.
2022-10-25 10:05:52 -07:00
..
api fix renamed function 2022-10-14 11:24:37 +00:00
shared decouple audits log from events 2022-09-04 17:53:37 +03:00
web Revert "Feat app region" 2022-09-30 12:32:58 +02:00
general.php Remove PDO rethrow 2022-10-25 10:05:52 -07:00
mock.php Merge pull request #3682 from appwrite/0.16.x 2022-09-14 18:10:41 +05:30