From: Aaron Schulz Date: Sat, 14 Jan 2012 23:15:32 +0000 (+0000) Subject: r108944: fixed bogus field...php-cloudfiles documentation misspelled this, it's ... X-Git-Tag: 1.31.0-rc.0~25262 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=dbfcb63fe52d38a9b2af4346bc301dff2d917db2;p=lhc%2Fweb%2Fwiklou.git r108944: fixed bogus field...php-cloudfiles documentation misspelled this, it's 'object_count' not 'count' --- 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 ) {