diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-17 19:31:29 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-17 19:31:29 +0200 |
commit | 69ee0efc0b355c33ec566cffb36c4b0dc429c338 (patch) | |
tree | 50f96da78b34007f47d6de10bdf47f35704d96a8 /settings/ajax/changepassword.php | |
parent | 12818093007d5bdce5519b5015e2a0748c98e24d (diff) | |
download | nextcloud-server-69ee0efc0b355c33ec566cffb36c4b0dc429c338.tar.gz nextcloud-server-69ee0efc0b355c33ec566cffb36c4b0dc429c338.zip |
remove the require_once lib base from all (or nearly all) files
Diffstat (limited to 'settings/ajax/changepassword.php')
-rw-r--r-- | settings/ajax/changepassword.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php index 860ea987871..0ed3c4919f5 100644 --- a/settings/ajax/changepassword.php +++ b/settings/ajax/changepassword.php @@ -1,7 +1,7 @@ <?php // Init owncloud -require_once('../../lib/base.php'); + $username = isset($_POST["username"]) ? $_POST["username"] : OC_User::getUser(); $password = $_POST["password"]; |