summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-03-06 13:56:44 +0100
committerJoas Schilling <coding@schilljs.com>2018-03-06 13:56:44 +0100
commit09d8387b005d86dbd519cefe70082456953de311 (patch)
tree51fc95e98a4480ca358ab0af8fff7065265d289e
parent97c4c00e3f3e1bc9561953fb110b83c11eda1d2c (diff)
downloadnextcloud-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.php2
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;