diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-11-20 14:59:59 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-11-20 14:59:59 +0100 |
commit | cbb9caf03083cc083491e292143ee53871920106 (patch) | |
tree | a36fbfa95a4cfb0a3d5bd6cfb1e35f7062d85aea /lib/base.php | |
parent | 46e610479514787d114ea519a4d70982413d152e (diff) | |
parent | 8595b76df2fa5c0e536dd37456943162a154d4da (diff) | |
download | nextcloud-server-cbb9caf03083cc083491e292143ee53871920106.tar.gz nextcloud-server-cbb9caf03083cc083491e292143ee53871920106.zip |
Merge pull request #12226 from owncloud/remove-phpass
Remove phpass and migrate to new Hasher interface
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index c97c158a1fb..9353de5588a 100644 --- a/lib/base.php +++ b/lib/base.php @@ -464,8 +464,7 @@ class OC { // setup 3rdparty autoloader $vendorAutoLoad = OC::$THIRDPARTYROOT . '/3rdparty/autoload.php'; if (file_exists($vendorAutoLoad)) { - $loader = require_once $vendorAutoLoad; - $loader->add('PasswordHash', OC::$THIRDPARTYROOT . '/3rdparty/phpass'); + require_once $vendorAutoLoad; } else { OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); OC_Template::printErrorPage('Composer autoloader not found, unable to continue.'); |