Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-25 20:42:41 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-25 20:42:41 +0400
commitf9279ac77ac8f4541bd0237fd5126f10cb7798a1 (patch)
tree033bbf8081827de96ea77939f905a447df99e640 /settings/changepassword
parent96e6cb3db4a97a1397dc56d3d1c1a5131e45b972 (diff)
killing some more calls to OC_App::loadApps(); - because we load all apps in handleRequest()
Diffstat (limited to 'settings/changepassword')
-rw-r--r--settings/changepassword/controller.php6
1 files changed, 0 insertions, 6 deletions
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 {