diff options
author | Joas Schilling <coding@schilljs.com> | 2018-03-06 13:56:44 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-03-06 13:56:44 +0100 |
commit | 09d8387b005d86dbd519cefe70082456953de311 (patch) | |
tree | 51fc95e98a4480ca358ab0af8fff7065265d289e | |
parent | 97c4c00e3f3e1bc9561953fb110b83c11eda1d2c (diff) | |
download | nextcloud-server-09d8387b005d86dbd519cefe70082456953de311.tar.gz nextcloud-server-09d8387b005d86dbd519cefe70082456953de311.zip |
Try without autoloading
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/private/AppFramework/Utility/SimpleContainer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Utility/SimpleContainer.php b/lib/private/AppFramework/Utility/SimpleContainer.php index 97cb772e3bb..c2c2964b021 100644 --- a/lib/private/AppFramework/Utility/SimpleContainer.php +++ b/lib/private/AppFramework/Utility/SimpleContainer.php @@ -66,7 +66,7 @@ class SimpleContainer extends Container implements IContainer { try { $parameters[] = $this->query($resolveName); } catch (\Exception $e) { - if (class_exists("PHPUnit_Framework_AssertionFailedError") && + if (class_exists("PHPUnit_Framework_AssertionFailedError", false) && $e instanceof \PHPUnit_Framework_AssertionFailedError) { // Easier debugging of "Your test case is not allowed to access the database." throw $e; |