original_string: function deletePhoto($photoId) {
          $photos = new Zend_Gdata_Photos($this->client);
          
          $photoQuery = new Zend_Gdata_Photos_PhotoQuery;
          $photoQuery->setUser($this->user);
          $photoQuery->setAlbumId($this->album);
          $photoQuery->setPhotoId($photoId);
          $photoQuery->setType('entry');
         
          $entry = $photos->getPhotoEntry($photoQuery);
          
          $photos->deletePhotoEntry($entry, true);
      }
code: function deletePhoto($photoId) {
          $photos = new Zend_Gdata_Photos($this->client);
          
          $photoQuery = new Zend_Gdata_Photos_PhotoQuery;
          $photoQuery->setUser($this->user);
          $photoQuery->setAlbumId($this->album);
          $photoQuery->setPhotoId($photoId);
          $photoQuery->setType('entry');
         
          $entry = $photos->getPhotoEntry($photoQuery);
          
          $photos->deletePhotoEntry($entry, true);
      }
code_tokens: function deletePhoto ( $ photoId ) { $ photos = new Zend_Gdata_Photos ( $ this -> client ) ; $ photoQuery = new Zend_Gdata_Photos_PhotoQuery ; $ photoQuery -> setUser ( $ this -> user ) ; $ photoQuery -> setAlbumId ( $ this -> album ) ; $ photoQuery -> setPhotoId ( $ photoId ) ; $ photoQuery -> setType ( 'entry' ) ; $ entry = $ photos -> getPhotoEntry ( $ photoQuery ) ; $ photos -> deletePhotoEntry ( $ entry , true ) ; }
docstring: Deletes the specified photo
  
  @param  Zend_Http_Client $client  The authenticated client
  @param  string           $user    The user's account name
  @param  integer          $albumId The album's id
  @param  integer          $photoId The photo's id
  @return void
docstring_tokens: Deletes the specified photo