Esempio n. 1
0
 /**
  * Disable the log retention for the CDN
  *
  * @return boolean
  */
 public function disableLogCdn()
 {
     $result = $this->service->updateCdnContainer($this->getName(), null, null, false);
     if ($result !== false) {
         $this->logRetention = false;
         return true;
     }
     return false;
 }
Esempio n. 2
0
 public function testUpdateCdnContainer()
 {
     $data = $this->rackspace->updateCdnContainer(TESTS_ZEND_SERVICE_RACKSPACE_CONTAINER_NAME, null, false);
     $this->assertTrue($data !== false);
 }