Skip to content

Commit

Permalink
fixup! performance optimisation for carddav backend blob data read
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Aug 15, 2022
1 parent 28e73f8 commit d380606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/CardDAV/CardDavBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ private function readBlob($cardData, &$modified = false) {

// Micro optimisation
// don't loop through
if (strpos($cardData, 'PHOTO') === 0) {
if (strpos($cardData, 'PHOTO:data:') === 0) {
return $cardData;
}

Expand Down

0 comments on commit d380606

Please sign in to comment.