From dbfcb63fe52d38a9b2af4346bc301dff2d917db2 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 14 Jan 2012 23:15:32 +0000 Subject: [PATCH] r108944: fixed bogus field...php-cloudfiles documentation misspelled this, it's 'object_count' not 'count' --- includes/filerepo/backend/SwiftFileBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/backend/SwiftFileBackend.php b/includes/filerepo/backend/SwiftFileBackend.php index 2070f08584..8b7602ba30 100644 --- a/includes/filerepo/backend/SwiftFileBackend.php +++ b/includes/filerepo/backend/SwiftFileBackend.php @@ -368,7 +368,7 @@ class SwiftFileBackend extends FileBackend { } // (c) Delete the container if empty - if ( $contObj->count == 0 ) { + if ( $contObj->object_count == 0 ) { try { $this->deleteContainer( $fullCont ); } catch ( NoSuchContainerException $e ) { -- 2.20.1