Added comment

This commit is contained in:
Sam Tuke 2013-02-06 18:24:35 +00:00
parent 2b07afc8ab
commit 954a627483
2 changed files with 2 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class Keymanager {
* as no encryption takes place here
*/
public static function setPrivateKey( $key ) {
trigger_error("MOSH");
$user = \OCP\User::getUser();
$view = new \OC_FilesystemView( '/' . $user . '/files_encryption' );

View File

@ -4,6 +4,7 @@
OCP\JSON::callCheck();
OC_JSON::checkLoggedIn();
// Manually load apps to ensure hooks work correctly (workaround for issue 1503)
OC_APP::loadApps();
$username = isset($_POST["username"]) ? $_POST["username"] : OC_User::getUser();