Added comment
This commit is contained in:
parent
2b07afc8ab
commit
954a627483
2 changed files with 2 additions and 1 deletions
|
@ -206,7 +206,7 @@ class Keymanager {
|
||||||
* as no encryption takes place here
|
* as no encryption takes place here
|
||||||
*/
|
*/
|
||||||
public static function setPrivateKey( $key ) {
|
public static function setPrivateKey( $key ) {
|
||||||
trigger_error("MOSH");
|
|
||||||
$user = \OCP\User::getUser();
|
$user = \OCP\User::getUser();
|
||||||
|
|
||||||
$view = new \OC_FilesystemView( '/' . $user . '/files_encryption' );
|
$view = new \OC_FilesystemView( '/' . $user . '/files_encryption' );
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
OCP\JSON::callCheck();
|
OCP\JSON::callCheck();
|
||||||
OC_JSON::checkLoggedIn();
|
OC_JSON::checkLoggedIn();
|
||||||
|
|
||||||
|
// Manually load apps to ensure hooks work correctly (workaround for issue 1503)
|
||||||
OC_APP::loadApps();
|
OC_APP::loadApps();
|
||||||
|
|
||||||
$username = isset($_POST["username"]) ? $_POST["username"] : OC_User::getUser();
|
$username = isset($_POST["username"]) ? $_POST["username"] : OC_User::getUser();
|
||||||
|
|
Loading…
Reference in a new issue