diff options
author | Björn Schießle <bjoern@schiessle.org> | 2013-09-18 01:33:52 -0700 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2013-09-18 01:33:52 -0700 |
commit | e0f18ec72b5e1dd02ece60a77fef94c643e535b1 (patch) | |
tree | 56629abf1b4525ebaacf49363ea37e999b31f3c2 /apps/files_encryption/lib/util.php | |
parent | 2e79aab0ce7ec9fa88ccbafd01e82574b93514f9 (diff) | |
parent | 72eaf2894a540bc9280e144ba493db7fcde07eac (diff) | |
download | nextcloud-server-e0f18ec72b5e1dd02ece60a77fef94c643e535b1.tar.gz nextcloud-server-e0f18ec72b5e1dd02ece60a77fef94c643e535b1.zip |
Merge pull request #4708 from owncloud/encryption_fixes
make sure that initial encryption also starts for a fresh installation
Diffstat (limited to 'apps/files_encryption/lib/util.php')
-rw-r--r-- | apps/files_encryption/lib/util.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php index d40c5d1a977..df4d35cab0b 100644 --- a/apps/files_encryption/lib/util.php +++ b/apps/files_encryption/lib/util.php @@ -201,10 +201,11 @@ class Util { if (false === $this->recoveryEnabledForUser()) { // create database configuration - $sql = 'INSERT INTO `*PREFIX*encryption` (`uid`,`mode`,`recovery_enabled`) VALUES (?,?,?)'; + $sql = 'INSERT INTO `*PREFIX*encryption` (`uid`,`mode`,`recovery_enabled`,`migration_status`) VALUES (?,?,?,?)'; $args = array( $this->userId, 'server-side', + 0, 0 ); $query = \OCP\DB::prepare($sql); |