diff options
Diffstat (limited to 'apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php')
-rw-r--r-- | apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php b/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php index 58096e3f3c6..272a0895e99 100644 --- a/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php +++ b/apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php @@ -107,7 +107,7 @@ class CalDAVRemoveEmptyValue implements IRepairStep { $query->select($query->func()->count('*', 'num_entries')) ->from('calendarobjects'); $result = $query->execute(); - $count = $result->fetchColumn(); + $count = $result->fetchOne(); $result->closeCursor(); $numChunks = ceil($count / $chunkSize); |