delete object without downloading it first

remotes/origin/ldap_group_count
Jörn Friedrich Dreyer 11 years ago
parent 92f2a430a8
commit 8e6cb6dc54
  1. 4
      lib/private/files/objectstore/swift.php

@ -135,8 +135,8 @@ class Swift implements IObjectStore {
*/
public function deleteObject($urn) {
$this->init();
$object = $this->container->getObject($urn);
$object->delete();
// see https://github.com/rackspace/php-opencloud/issues/243#issuecomment-30032242
$this->container->dataObject()->setName($urn)->delete();
}
public function deleteContainer($recursive = false) {

Loading…
Cancel
Save