Skip to content

Ignore exception when deleting keys of deleted user#3883

Merged
blizzz merged 1 commit into
masterfrom
downstream-26968
Mar 17, 2017
Merged

Ignore exception when deleting keys of deleted user#3883
blizzz merged 1 commit into
masterfrom
downstream-26968

Conversation

@MorrisJobke

Copy link
Copy Markdown
Member

Whenever a user was deleted for encryption where the keys are stored in
the home, we can ignore user existence exceptions because it means the
keys are already gone.

@mention-bot

Copy link
Copy Markdown

@MorrisJobke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @schiessle, @nickvergessen and @LukasReschke to be potential reviewers.

Whenever a user was deleted for encryption where the keys are stored in
the home, we can ignore user existence exceptions because it means the
keys are already gone.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #3883 into master will decrease coverage by <.01%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master    #3883      +/-   ##
============================================
- Coverage     54.21%   54.21%   -0.01%     
- Complexity    21092    21093       +1     
============================================
  Files          1303     1303              
  Lines         80526    80527       +1     
  Branches       1270     1270              
============================================
  Hits          43657    43657              
- Misses        36869    36870       +1
Impacted Files Coverage Δ Complexity Δ
lib/private/Encryption/Keys/Storage.php 95.49% <66.66%> (-0.87%) 41 <0> (+1)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc077e6...aebb8c3. Read the comment docs.

@blizzz
blizzz merged commit a5c8016 into master Mar 17, 2017
@blizzz
blizzz deleted the downstream-26968 branch March 17, 2017 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants