r108944: fixed bogus field...php-cloudfiles documentation misspelled this, it's ...
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 14 Jan 2012 23:15:32 +0000 (23:15 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 14 Jan 2012 23:15:32 +0000 (23:15 +0000)
includes/filerepo/backend/SwiftFileBackend.php

index 2070f08..8b7602b 100644 (file)
@@ -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 ) {