From a2898d760e4ec0aa095d34e9d73b463b201453ac Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 5 Sep 2015 12:20:09 -0400 Subject: [PATCH] Fixes #11463 Cannot redeclare class phpseclib\Crypt\AES Signed-off-by: Marc Delisle --- libraries/plugins/auth/AuthenticationCookie.class.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libraries/plugins/auth/AuthenticationCookie.class.php b/libraries/plugins/auth/AuthenticationCookie.class.php index 20966fb28b..4cdf7628d8 100644 --- a/libraries/plugins/auth/AuthenticationCookie.class.php +++ b/libraries/plugins/auth/AuthenticationCookie.class.php @@ -876,11 +876,3 @@ class AuthenticationCookie extends AuthenticationPlugin $this->storePasswordCookie($password); } } - -/** - * phpseclib - */ -if (! AuthenticationCookie::useOpenSSL()) { - include PHPSECLIB_INC_DIR . '/Crypt/AES.php'; - include PHPSECLIB_INC_DIR . '/Crypt/Random.php'; -}