Skip to content
Snippets Groups Projects
Commit 954a6274 authored by Sam Tuke's avatar Sam Tuke
Browse files

Added comment

parent 2b07afc8
No related branches found
No related tags found
No related merge requests found
...@@ -206,7 +206,7 @@ class Keymanager { ...@@ -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 @@ ...@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment