From f9279ac77ac8f4541bd0237fd5126f10cb7798a1 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Tue, 25 Mar 2014 17:42:41 +0100 Subject: killing some more calls to OC_App::loadApps(); - because we load all apps in handleRequest() --- settings/changepassword/controller.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'settings/changepassword') diff --git a/settings/changepassword/controller.php b/settings/changepassword/controller.php index e8c2a1943f3..9f1e7329964 100644 --- a/settings/changepassword/controller.php +++ b/settings/changepassword/controller.php @@ -8,9 +8,6 @@ class Controller { \OC_JSON::callCheck(); \OC_JSON::checkLoggedIn(); - // Manually load apps to ensure hooks work correctly (workaround for issue 1503) - \OC_App::loadApps(); - $username = \OC_User::getUser(); $password = isset($_POST['personal-password']) ? $_POST['personal-password'] : null; $oldPassword = isset($_POST['oldpassword']) ? $_POST['oldpassword'] : ''; @@ -32,9 +29,6 @@ class Controller { \OC_JSON::callCheck(); \OC_JSON::checkLoggedIn(); - // Manually load apps to ensure hooks work correctly (workaround for issue 1503) - \OC_App::loadApps(); - if (isset($_POST['username'])) { $username = $_POST['username']; } else { -- cgit v1.2.3